Wapama in JBoss

72 views
Skip to first unread message

Edinardo

unread,
Apr 8, 2011, 4:48:36 PM4/8/11
to wapama
Which version of JBoss was used for wapama-designer-1.0.0.090-
jboss.war? I am trying with 5.1.0.GA and try open the editor, I have
this exceptions.

exception

javax.servlet.ServletException: Servlet.init() for servlet
EditorHandler threw exception

org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:
190)

org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:
92)

org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:
126)

org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:
70)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)

org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:
158)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
330)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
829)
org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:598)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
447)
java.lang.Thread.run(Thread.java:662)
root cause

java.lang.RuntimeException

com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSourceNumber(JavaScriptCompressor.java:
299)

com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:
335)

com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:
532)
org.wapama.web.EditorHandler.initEnvFiles(EditorHandler.java:208)
org.wapama.web.EditorHandler.init(EditorHandler.java:173)

org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:
190)

org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:
92)

org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:
126)

org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:
70)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)

org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:
158)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
330)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
829)
org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:598)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
447)
java.lang.Thread.run(Thread.java:662)

Antoine Toulme

unread,
Apr 8, 2011, 4:50:39 PM4/8/11
to wap...@googlegroups.com, Edinardo
Hello!

Unfortunately, I merged hastily the web.xml used for the war and the jar ; in the war we have to disable js compression as the compressor doesn't really appreciate the jboss classpath.

To fix this issue, you can set the system property "designer.dev" to true.

You can run the server with -Ddesigner.dev=true.

Thanks,

Antoine

Edinardo Potrich

unread,
Apr 8, 2011, 5:07:25 PM4/8/11
to Antoine Toulme, wap...@googlegroups.com
Now is missing the profile (error below). Thanks for promptly answer.

java.lang.IllegalArgumentException: No profile with the name null was registered
org.wapama.web.EditorHandler.doGet(EditorHandler.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.wapama.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:76)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

--
Edinardo Potrich
MCTS, MCP
Fone: (801) 709-1015
"O verdadeiro lugar de nascimento é aquele em que lançamos pela
primeira vez um olhar inteligente sobre nós mesmos (...)". Marguerite
Yourcenar

Antoine Toulme

unread,
Apr 8, 2011, 5:09:13 PM4/8/11
to Edinardo Potrich, wap...@googlegroups.com
The address of the editor is usually something like:


The profile and the UUID are passed in the query string:


Thanks,

Antoine

Edinardo Potrich

unread,
Apr 8, 2011, 5:26:36 PM4/8/11
to ant...@toulme.name, Antoine Toulme, wap...@googlegroups.com
It's working perfectly.

Thanks and have a great weekend.

Edinardo

Reply all
Reply to author
Forward
0 new messages