Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - tokamak

Pages: [1]
1
As Michael said, there is now a solution for the integration of Konakart with Liferay 6... But still no solution to keep using Konakart Webservices.
http://www.liferay.com/community/forums/-/message_boards/message/6221486

The problem in running Konakart Webservices in another glassfish domain is that they will both use the same database... So I'm little bit affraid of potential concurrent accesses that may result in a production environment.

But It's possible to use konakart WebServices from customs Liferay Portlet... Then every interaction with database would go through Konakart WebServices and we keep away from concurrent access and database corruption  ;)

Thanks !

2
Many thanks for your help !  :) It's working at last !

I install Konakart using the wizard and created a new portlet war from wich I remove WSDD file.
Then I reinitialize my liferay database (due to corruption occured by an error in portlet deployment) and redeploy the war to have the portlet working correctly.

By the way, you were absolutly right, iterate tags works correctly on glassfish with Liferay 6.0.5.
So it's shurely a tomcat issue...

Web services would have been a plus for me to develop quickly custom portlets based on Konakart services...

Tokamak

3
 :-X I was meaning Liferay 6.0.5 of course  :-X

It seems to be an issue with Liferay 6 and Iterate tag. (http://issues.liferay.com/browse/LPS-12766?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel)
A solution is to use foreach instead (http://www.liferay.com/community/forums/-/message_boards/message/5940178;jsessionid=FE5798C5EF082799906E91B3E1E5125F.node-1:-[

I tryed to remove the wsdd file from the war file but that ocurred Warnings on XSD validation and a MySQLSyntaxErrorException : Table 'lifeportaldb.counter' doesn't exist
Is there some script to load on my database before deploying the portlet ?
I thought the portlet would create its tables during initialization... Is it right ?

During konakart portlet initialization I got another MySQLSyntaxErrorException: Table 'lifeportaldb.configuration' doesn't exist...

I'm also trying to get those WebServices working on another domain of my glassfish server. If I succeed I'll post a comment on how to proceed.

Thanks for your help.
Corentin

4
Hi,

I'm trying to deploy Konakart 5.0.0.0 portlet in Liferay 6.5.0 on a Glassfish 3.0.1 server but during deployment multiples ClassCast Exceptions occured.

Quote
[#|2010-10-19T18:41:05.778+0000|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=34;_ThreadName=Thread-1;|18:41:05,777 FATAL [InternalException:88] Exception:
org.apache.axis.ConfigurationException: org.apache.axis.deployment.wsdd.WSDDException: java.lang.ClassCastException: org.apache.axis.encoding.ser.BeanSerializerFactory cannot be cast to org.apache.axis.encoding.SerializerFactory
java.lang.ClassCastException: org.apache.axis.encoding.ser.BeanSerializerFactory cannot be cast to org.apache.axis.encoding.SerializerFactory
    at org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(BaseSerializerFactory.java:277)
    at org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:542)
    at org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:253)
    at org.apache.axis.deployment.wsdd.WSDDService.<init>(WSDDService.java:233)

The konakart portlet is trying to set up its axis-1.4 services but Liferay 6.5.0 uses Axis 1.5...
How can I work around this problem ?

Is there a way to allow liferay to use his version of axis and my portlet to use another version ?

Any help would be warmly welcomed   :-[
Tokamak

Pages: [1]