This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 149365

Summary: Could not deploy any portlet with latest Websynergy build with latest portal pack
Product: contrib Reporter: bharani <bharani>
Component: PortalpackAssignee: _ prakashtheone <prakashtheone>
Status: RESOLVED WORKSFORME    
Severity: blocker CC: prakashtheone
Priority: P1    
Version: 6.x   
Hardware: Macintosh   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot

Description bharani 2008-10-07 13:37:22 UTC
Steps to reproduce
----------------

1) Download the latest websynergy build
2) Downlod the latest portalpack bits 
3) Install the plugins
4) Create a portet webapp in Netbeans6.5 beta
5) Deploy the portlet 

Issue
----

I get the following error message at the log

18:00:54,506 INFO  [PortletAutoDeployListener:78] Copying portlets for 
/Users/portalqa/bharani/glassfish/domains/domain1/websynergy/deploy/PHPSnowBoard.war
18:00:54,509 INFO  [BaseDeployer:529] Deploying PHPSnowBoard.war
com.liferay.portal.kernel.deploy.auto.AutoDeployException: PHPSnowBoard.war does not support this version of Liferay
        at com.liferay.portal.tools.BaseDeployer.deployFile(BaseDeployer.java:556)
        at com.liferay.portal.tools.BaseDeployer.deploy(BaseDeployer.java:398)
        at com.liferay.portal.deploy.auto.PortletAutoDeployer.autoDeploy(PortletAutoDeployer.java:98)
        at com.liferay.portal.deploy.auto.PortletAutoDeployListener.deploy(PortletAutoDeployListener.java:85)
        at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:194)
        at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:142)
        at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:60)
18:00:54,510 INFO  [PortletAutoDeployListener:88] Portlets for 
/Users/portalqa/bharani/glassfish/domains/domain1/websynergy/deploy/PHPSnowBoard.war copied successfully
Comment 1 Satyaranjan D 2008-10-09 08:14:21 UTC
Currently the <liferay-version> value in liferay-plugin-package.xml is set to 5.0, that's why it's not working with the
latest websynergy build.

Workaround :

- Change the value of <liferay-version> from 5.0 to *.* in liferay-plugin-package.xml. This file can be found inside
WEB-INF directory of the project.
Comment 2 bharani 2008-10-10 08:44:06 UTC
The workaround is fine. But when I use a general taglib say for eg: article tag and deploy the portlet I see junk characters in the websynergy page
Comment 3 bharani 2008-10-10 08:47:08 UTC
Created attachment 71527 [details]
Screenshot
Comment 4 Satyaranjan D 2008-10-10 09:01:31 UTC
Prakash,

Please verify the journal taglib issue.
Comment 5 _ prakashtheone 2008-10-21 07:35:34 UTC
There is no problem as such with the portlet pack Journal taglib functionality.
Was able to create a portlet using the taglib and deploy. The portlet seems to work fine.