tomcat 6 problem

97 views
Skip to first unread message

Marco Sabatini

unread,
Sep 7, 2011, 5:30:28 AM9/7/11
to wapama
Hi all,

I'm very interesting in this editor. But I try to install it on tomcat
6 but I have problem with servlet API and logger api. Any suggestion?

Marco Sabatini

unread,
Sep 8, 2011, 4:24:38 AM9/8/11
to wapama
1) I removed the servlet api jar but I had the static logger bind
exception.
2) At this link http://www.slf4j.org/codes.html there is the problem
description.
3) this is thre solution:
"Failed to load class org.slf4j.impl.StaticLoggerBinder

This error is reported when the org.slf4j.impl.StaticLoggerBinder
class could not be loaded into memory. This happens when no
appropriate SLF4J binding could be found on the class path. Placing
one (and only one) of slf4j-nop.jar, slf4j-simple.jar, slf4j-
log4j12.jar, slf4j-jdk14.jar or logback-classic.jar on the class path
should solve the problem.
As of SLF4J version 1.6, in the absence of a binding, SLF4J will
default to a no-operation (NOP) logger implementation."

But after I get this exception:
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.as.web.NamingValve.invoke(NamingValve.java:57)

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

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
362)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
877)
org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:667)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
951)
java.lang.Thread.run(Thread.java:680)

I think now the problem is with
(com.yahoo.platform.yui.compressor.JavaScriptCompressor).

tihomir surdilovic

unread,
Sep 8, 2011, 10:46:23 AM9/8/11
to wap...@googlegroups.com
Hi, yui compressor is having issues under certain VMs.  You should bypass the yui compressor by starting wapama in development mode.
AFAIK you can set the servlet init parameter

<init-param>
<param-name>designer.dev</param-name>
<param-value>true</param-value>
</init-param>

to the EditorHandler servlet in web.xml to accomplish this.

Hope this helps.
Thanks.
Message has been deleted

Marco Sabatini

unread,
Sep 9, 2011, 5:00:55 AM9/9/11
to wapama
The <init-param> is not functional. I see there are a lot of problem
with this library. What is your Application server reference?
thanks a lot.

On Sep 8, 4:46 pm, tihomir surdilovic <tsurdilo...@gmail.com> wrote:
> Hi, yui compressor is having issues under certain VMs.  You should bypass
> the yui compressor by starting wapama in development mode.
> AFAIK you can set the servlet init parameter
>
> <init-param>
> <param-name>designer.dev</param-name>
> <param-value>true</param-value>
> </init-param>
>
> to the EditorHandler servlet in web.xml to accomplish this.
>
> Hope this helps.
> Thanks.
>
> On Thu, Sep 8, 2011 at 4:24 AM, Marco Sabatini <marco.sabat...@wedjaa.net>wrote:
>
>
>
>
>
>
>
> > 1) I removed the servlet api jar but I had the static logger bind
> > exception.
> > 2) At this linkhttp://www.slf4j.org/codes.htmlthere is the problem
Reply all
Reply to author
Forward
0 new messages