It's Velocity.
For example,
#macro(test)
This works!
#end
Quoting Thomas Mortagne : Hi,
On Thu, Jan 22, 2009 at 2:22 PM, Mike A. wrote:
Hi!
I've created some simple macros (for html otput), but they are
not
loaded after I restart tomcat (5.5). Old macros work
fine, but the
new
are just rendered as a text.
What do you mean
by new macro ? Is it Velocity, Radeox or XWiki 2.0
macro ?
Tomcat log contains one error, don't know if
it's the reason
macros
don't work:
--------------------------
INFO: Pausing Coyote HTTP/1.1 on http-8180
Jan 22, 2009 3:08:48 PM org.apache.catalina.connector.Connector
pause
SEVERE: Protocol handler pause failed
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.(Socket.java:366)
at java.net.Socket.(Socket.java:209)
at
org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:492)
at
org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:289)
at org.apache.jk.server.JkMain.pause(JkMain.java:681)
at
org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:163)
at
org.apache.catalina.connector.Connector.pause(Connector.java:1032)
at
org.apache.catalina.core.StandardService.stop(StandardService.java:489)
at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:734)
> at
> org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.catalina.startup.Bootstrap.stop(Bootstrap.java:307)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.commons.daemon.support.DaemonLoader.stop(DaemonLoader.java:200)
--------------------------
Best regards, Mike
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Best regards, Mike
Links:
------
[1] mailto:thomas.mortagne@xwiki.com