[Logo] Mentawai Forum - Mentawai Web Framework
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 

Forum Read-Only! Check the new site and forum here!

[RESOLVIDO] Problema na taglib  XML
Forum Index -> Bugs
Author Message
douglas7



Joined: 09/03/2011 14:56:04
Messages: 4
Offline

Olá, quando vou executar meu projeto utilizando mentawai em um servidor tomcat, ele roda perfeitamente. Já quando vou executá-lo em servidor jboss ocorre um erro com a validação da taglib do mentawai. O jboss acusa que existem parâmetros inválidos na taglib.tld onde body-contentType está escrito como jsp e deveria ser JSP (Nota: este problema de case-sensitive ocorre no linux), e também acusa outros erros onde a tag description do elemento attribute do elemento tag (tag > attribute > description) deve ser o último elemento e não o primeiro como é passado. Baixei o código fonte do mentawai e corrigi estes problemas na taglib, compilei, e adicionei ao meu projeto. Desta forma meu projeto funcionou perfeitamente no jboss. Venho entrar em contato então para informar este problema e pedir para que seja corrigido pois eu gotaria de continuar usando a última versão do mentawai pelo maven e a idéia de ter que compilar um artefato manualmente para adicioná-lo ao meu projeto maven não me agrada muito.

Obrigado
boaglio


[Avatar]

Joined: 28/09/2005 11:05:16
Messages: 299
Location: Sao Paulo - Brazil
Offline


Douglas, com sua alteração funciona no Tomcat e Jetty também ?

http://www.boaglio.com
[WWW]
douglas7



Joined: 09/03/2011 14:56:04
Messages: 4
Offline

Com ou sem a alteração funciona no tomcat e glassfish, no jboss só funciona com, no jetty não testei.
boaglio


[Avatar]

Joined: 28/09/2005 11:05:16
Messages: 299
Location: Sao Paulo - Brazil
Offline


Fiz uns testes e só vi esse problema na versão 6 do JBoss, eu corrigi a taglib e commitei , na próxima release já vem certo.


http://www.boaglio.com
[WWW]
douglas7



Joined: 09/03/2011 14:56:04
Messages: 4
Offline

Obrigado
euclydesmelo


[Avatar]

Joined: 29/03/2011 20:14:41
Messages: 4
Offline

Estou com um problema semenhante!!! Tinha umas aplicações rodando, na boa, no Tomcat 6. Agora, por uma necessidade externa, tive rodá-las no Tomcat 7. Não está dando certo. Aparentemente, parece que é alguma incompatiblidade na versão das taglibs do JSP ou da API servlet.

Segue a stacktrace:

Code:
 GRAVE: Error configuring application listener of class 
 			org.mentawai.tag.html.dyntag.inputDate.listener.InputDateListener
 		
 java.lang.ClassNotFoundException: 
 			org.mentawai.tag.html.dyntag.inputDate.listener.InputDateListener
 		
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
 	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4537)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5097)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5092)
 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 	at java.lang.Thread.run(Thread.java:662)
 03/06/2011 14:18:37 org.apache.catalina.core.StandardContext listenerStart
 GRAVE: Error configuring application listener of class 
 			org.mentawai.tag.html.dyntag.inputMask.listener.InputMaskListener
 		
 java.lang.ClassNotFoundException: 
 			org.mentawai.tag.html.dyntag.inputMask.listener.InputMaskListener
 		
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
 	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4537)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5097)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5092)
 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 	at java.lang.Thread.run(Thread.java:662)
 03/06/2011 14:18:37 org.apache.catalina.core.StandardContext listenerStart
 GRAVE: Error configuring application listener of class 
 			org.mentawai.tag.html.dyntag.inputMoney.listener.InputMoneyListener
 		
 java.lang.ClassNotFoundException: 
 			org.mentawai.tag.html.dyntag.inputMoney.listener.InputMoneyListener
 		
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
 	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4537)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5097)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5092)
 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 	at java.lang.Thread.run(Thread.java:662)
 03/06/2011 14:18:37 org.apache.catalina.core.StandardContext listenerStart
 GRAVE: Error configuring application listener of class 
 			org.mentawai.tag.html.dyntag.tabPanel.listener.TabPanelListener
 		
 java.lang.ClassNotFoundException: 
 			org.mentawai.tag.html.dyntag.tabPanel.listener.TabPanelListener
 		
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
 	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4537)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5097)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5092)
 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 	at java.lang.Thread.run(Thread.java:662)
 03/06/2011 14:18:37 org.apache.catalina.core.StandardContext listenerStart
 GRAVE: Error configuring application listener of class 
 			org.mentawai.tag.html.dyntag.formSkin.listener.FormSkinListener
 		
 java.lang.ClassNotFoundException: 
 			org.mentawai.tag.html.dyntag.formSkin.listener.FormSkinListener
 		
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
 	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4537)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5097)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5092)
 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 	at java.lang.Thread.run(Thread.java:662)
 03/06/2011 14:18:37 org.apache.catalina.core.StandardContext listenerStart
 GRAVE: Error configuring application listener of class 
 			org.mentawai.tag.html.dyntag.selectBox.listener.SelectBoxListener
 		
 java.lang.ClassNotFoundException: 
 			org.mentawai.tag.html.dyntag.selectBox.listener.SelectBoxListener
 		
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
 	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4537)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5097)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5092)
 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 	at java.lang.Thread.run(Thread.java:662)
 03/06/2011 14:18:37 org.apache.catalina.core.StandardContext listenerStart
 GRAVE: Error configuring application listener of class 
 			org.mentawai.tag.html.dyntag.stats.listener.StatsListener
 		
 java.lang.ClassNotFoundException: 
 			org.mentawai.tag.html.dyntag.stats.listener.StatsListener
 		
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
 	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4537)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5097)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5092)
 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 	at java.lang.Thread.run(Thread.java:662)
 03/06/2011 14:18:37 org.apache.catalina.core.StandardContext listenerStart
 GRAVE: Error configuring application listener of class 
 			org.mentawai.tag.html.dyntag.menu.listener.MenuListener
 		
 java.lang.ClassNotFoundException: 
 			org.mentawai.tag.html.dyntag.menu.listener.MenuListener
 		
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
 	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4537)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5097)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5092)
 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 	at java.lang.Thread.run(Thread.java:662)
 03/06/2011 14:18:37 org.apache.catalina.core.StandardContext listenerStart
 GRAVE: Error configuring application listener of class 
 			org.mentawai.tag.html.ajax.listener.AjaxListener
 		
 java.lang.ClassNotFoundException: 
 			org.mentawai.tag.html.ajax.listener.AjaxListener
 		
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
 	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
 	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4537)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5097)
 	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5092)
 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 	at java.lang.Thread.run(Thread.java:662)
 


---
Att,
Euclydes Melo
MoLeKe DoIdO
[Email]
douglas7



Joined: 09/03/2011 14:56:04
Messages: 4
Offline

Amigo, acho que o problema que você está tendo com o tomcat 7 é o fato de que este usa a api servlet 3 enquanto o tomcat 6 usa o servlet 2.5. Sua aplicação não deve estar preparada para rodar no servlet 3, ou talvez seja uma incompatibilidade do próprio mentawai com o servlet 3.
depyou



Joined: 25/10/2011 02:44:19
Messages: 1
Offline

Obrigado

Shoes storeBoots store
Lobo


[Avatar]

Joined: 23/01/2006 02:17:14
Messages: 840
Location: Fortaleza-CE
Offline

Resolvido:
http://forum.mentaframework.org/posts/list/9025.page

Atenciosamente,
Hélio Frota

Helio Frota
10+ Java Programmer
heliofrota.com

Member
Mentawai Developer
jsteixeira



Joined: 19/01/2012 12:40:16
Messages: 2
Offline

Funcionou! Obrigado.
Lobo


[Avatar]

Joined: 23/01/2006 02:17:14
Messages: 840
Location: Fortaleza-CE
Offline

Show de bola.

Atenciosamente,
Hélio Frota

Helio Frota
10+ Java Programmer
heliofrota.com

Member
Mentawai Developer
 
Forum Index -> Bugs
Go to:   
Powered by JForum 2.1.6 © JForum Team