Hello,

I need help.

I have the same issue, that is described here:
http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200508.mbox/[EMAIL
 PROTECTED]
I'm just curious has anything change since then?
I have also tried to run a php::php-demo portlet but unfortunately I failed.

I am using: Jetspeed 2.0 embedded database distribution, running on WindowsXP, PHP version is 4.3.5. I have PHP installed in C:\PHP and Jetspeed 2.0 installed in C:\Apache Jetspeed 2.0.

I performed the following steps in my attempt to make it work:
I copied 2 files: php4ts.dll and phpsrvlt.dll to C:\PHP directory.
Then I moved php.war archive from C:\Apache Jetspeed 2.0\webapps directory to temporary directory, C:\tmp
(This automatically undeployed context /php).
Then I extracted php.war contents to C:\tmp\php directory.
Then I moved /css, /hosts, and /sql folders along with test.php file to /WEB-INF directory. Then I extracted C:\tmp\php\WEB-INF\lib phpportlet-1.0.jar contents to C:\tmp\php\WEB-INF\lib\phpportlet-1.0 directory and made the following changes: I changed 2 files from C:\tmp\php\WEB-INF\lib\phpportlet-1.0\com\itgroundwork\portlet\php directory:
reflect.properties and servlet.properties the following way:
============reflect.properties===============
library=php4ts
=======================================

============servlet.properties===============
library=php4ts
======================================

Then I made a new phpportlet-1.0.jar archive by executing the following command
from C:\tmp\php\WEB-INF\lib\phpportlet-1.0 directory:
jar cvf ../phpportlet-1.0.jar .
I then removed phpportlet-1.0 directory from C:\tmp\php\WEB-INF\lib\
and made a new php.war archive by executing the following command from
C:\tmp\php\ directory:
jar cvf ../php.war .
I then removed php C:\tmp and moved php.war file from C:\tmp to C:\Apache Jetspeed 2.0\webapps directory. After it got deployed I restarted my portal and added the following fragment to one of my .psml files:
===================================================
       <fragment id="u4-xx6034" type="portlet" name="php::php-demo">
           <property name="row" value="1"/>
           <property name="column" value="1"/>
       </fragment>

===================================================

When I try to execute "php.exe test.php" from ../webapps/php/WEB-INF directory it works fine.

Unfortunately, when I open my psml file I get an exception.
In PHP demo portlet "window" I see the message "Portlet is Not Available: php::php-demo Reason: startup"
and in Tomcat window I get the following exception:

java.lang.UnsatisfiedLinkError: startup
        at com.itgroundwork.portlet.php.servlet.startup(Native Method)
        at com.itgroundwork.portlet.php.servlet.init(servlet.java:205)
        at
org.apache.portals.bridges.php.PHPApplicationPortlet.doView(PHPApplicationPortlet.java:256)
        at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
        at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
        at
org.apache.jetspeed.factory.JetspeedPortletInstance.render(JetspeedPortletInstance.java:96)
        at
org.apache.jetspeed.container.JetspeedContainerServlet.doGet(JetspeedContainerServlet.java:224)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        ......


Have I done something wrong? Did I miss something?
Could anyone please prompt me the exact steps I should perform to make php::php-demo work?
I REALLY need it to work.
Thank you in advance for help.

Best regards,
Alexey

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to