At least wicket-portlet-examples run fine with Liferay+Tomcat. What is this wicket-portlet-samples you're trying to deploy, and where did you get that portlet.war? If you compile the examples with maven it produces a war called "wicket-portlet-examples.war".

"Exception: Error registering portlets for es.tsystems.nt.web" sounds like you're not deploying the real wicket portlet examples, may be you should try with that first?

Also, which version of wicket are you using? 1.2.2 is currently the best choice.

Janne

On 12.9.2006, at 18.05, Manu wrote:

Has anyone successfully runned a simple Wicket-portlet inside LifeRay + Tomcat?

I have downloaded the Wicket-portlet-samples from the repository, and
when I try to load the portlet.war with LifeRay + Tomcat I get the
following error:

---
14:59:36,520 ERROR [HotDeployUtil:52] com.liferay.portal.kernel.deploy.HotDeploy
Exception: Error registering portlets for es.tsystems.nt.web
       at com.liferay.portal.deploy.HotDeployPortletListener.invokeDeploy(HotDe
ployPortletListener.java:284)
       at com.liferay.portal.kernel.deploy.HotDeployUtil._fireDeployEvent(HotDe
ployUtil.java:82)
       at com.liferay.portal.kernel.deploy.HotDeployUtil.fireDeployEvent(HotDep
loyUtil.java:43)
       at com.liferay.portal.kernel.servlet.PortletContextListener.contextIniti
alized(PortletContextListener.java:41)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3729)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
187)
       at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java
:1089)
       at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1187)
       at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:292)
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
       at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBas
e.java:1305)
       at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1569)
       at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1578)
       at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.r
un(ContainerBase.java:1558)
       at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.ClassCastException
       at com.liferay.portal.deploy.HotDeployPortletListener.invokeDeploy(HotDe
ployPortletListener.java:142)
       ... 14 more
---

Need help! Thank you, in advance!

Regards.

Manu

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
_______________________________________________
Wicket-user mailing list

Janne Hietamäki
Teknologiajohtaja
Oy Cemron Ab

Osoite:
Kehräsaari
33200 Tampere
http://www.cemron.fi

puh. +358 40 724 7680


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to