Portlet Container and JSF Portlet Bridge Projects migrated

The Portlet Container and JSF Portlet Bridge Projects have been migrated from CollabNet hosted infrastructure to Kenai hosted infrastructure.

The new URLs are

Portlet Container Project : http://portlet-container.java.net

JSF Portlet Bridge Project: http://jsfportletbridge.java.net

The previous URLs are being redirected to the new URLs.

All the links and downloads have been appropriately modified. If anything is missing, please let me know. Thanks.


Comments:

Hi,

Is it possible to deploy portlet container on Oracle Application Server 10.1.4 ?
if yes can you pls provide the steps or guide or tutorial reference.

thank you,

Posted by guest on July 26, 2011 at 08:44 AM IST #

You can deploy the portlet container to any JavaEE compliant Web Container.

You can follow the following steps to install on Oracle Application Server 10.1.4

1. Unjar portlet-container-configurator.jar and unzip portlet-container.zip and this will be <portlet-container.home>
2. Copy <portlet-container.home>/lib/*.jar to server classpath
3. Deploy <portlet-container.home>/driver/portletdriver.war to the application server.
4. After restart, you can access http://host:port/portletdriver to see two tabs Portlet and Admin

To enable deployment to portlets to OAS, you need to specify the autodeployment directory in <portlet-container.home>/config/pcenv.conf (there should be pcenv.conf.template, copy and rename it to pcenv.conf)
eg:
server.name=oas
oas.autodeploy.dir=<...>

If the above is not done, portlet deployment using Admin will fail(i.e only the deployment to OAS will fail). The workaround is to deploy the war at <portlet-container.home>/war/ to OAS. And after accessing the URL mentioned in #5, you should be able to see the portlet.

Let me know if there any issues

Posted by guest on July 27, 2011 at 10:56 AM IST #

Hi,

Thanks for the steps. I tried them but while deploying the portletdriver.war I got the following error

Failed to deploy web application "portletdriver". Failed to deploy web application "portletdriver". . See base exception for details.
Resolution:
See base exception for details.
Base Exception:
java.lang.UnsupportedClassVersionError
com/sun/portal/container/service/ServiceManagerContextListenerImpl (Unsupported major.minor version 49.0). com/sun/portal/container/service/ServiceManagerContextListenerImpl (Unsupported major.minor version 49.0)

I think portlet container 2.0 is not compatible with OAS 10.1.4
Instead I should try portlet container 1.0
But I couldn't find open portlet container 1.0 to download till now.
The search is still on.

waiting for your comments,

Thanks,

Posted by guest on August 14, 2011 at 06:25 AM IST #

Hi,

I have one more question.
How is the following step related to the portletdriver.war deployed on OAS?

"To enable deployment to portlets to OAS, you need to specify the autodeployment directory in <portlet-container.home>/config/pcenv.conf (there should be pcenv.conf.template, copy and rename it to pcenv.conf)
eg:
server.name=oas
oas.autodeploy.dir=<...>"

How this pcenv.conf is related to the OAS?

Thanks,

Posted by guest on August 15, 2011 at 07:30 AM IST #

Regarding "Unsupported major.minor version 49.0", it happens because of JVM version. If the classes are compiled in JVM 5.0 and running it using JVM 1.4, you get this Error. In this case, portlet container classes are compiled using JVM 5, i guess OAS is run using JVM 1.4.

As far as the compatibility of portlet container is concerned, the OAS should be J2EE 1.4 compliant, then only portlet container can run properly.

Regarding pcenv.conf question, most web containers support autodeployment feature(mostly for development purposes), where in you copy a war to an autodeploy directory, the webcontainer deploys it for you. If OAS has such a capability, you need to specify the same.

Let me know if there any issues

Posted by Deepak on August 15, 2011 at 01:32 PM IST #

Hi,

I tried setting up open portlet container with preconfigured OC4J 10.1.3.5.
I followed your steps and successfully got portlet and admin tabs in /portletdriver.
But when I try to deploy WelcomePortlet it give me error. Please check the following:

Aug 22, 2011 8:23:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Coord
inationService, Implementation: com.sun.portal.container.service.coordination.im
pl.CoordinationServiceImpl
Aug 22, 2011 8:23:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Cachi
ngService, Implementation: com.sun.portal.container.service.caching.impl.Caching
ServiceImpl
Aug 22, 2011 8:23:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Clien
tCachingService, Implementation: com.sun.portal.container.service.caching.impl.C
lientCachingServiceImpl
Aug 22, 2011 8:23:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Deplo
ymentService_Local, Implementation: com.sun.portal.container.service.deployment.
impl.DeploymentServiceLocalImpl
Aug 22, 2011 8:23:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Conta
inerEventService, Implementation: com.sun.portal.container.service.coordination.
impl.ContainerEventServiceImpl
Aug 22, 2011 8:23:58 PM com.sun.portal.portletcontainer.admin.ServerType loadCon
figFile
INFO: PSPL_CSPPAM0041 : pcenv.conf contains: {}
Aug 22, 2011 8:23:58 PM com.sun.portal.portletcontainer.admin.ServerType getServ
erHome
INFO: PSPL_CSPPAM0003 : The webcontainer is null and server home is null
Aug 22, 2011 8:23:58 PM com.sun.portal.portletcontainer.admin.PortletRegistryHel
per getPortletContainerDir
INFO: PSPL_CSPPAM0006 : The Portlet Container Home: C:\Users\insight\portlet-con
tainer
Aug 22, 2011 8:23:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Polic
yService, Implementation: com.sun.portal.portletcontainer.driver.policy.PolicySe
rviceImpl
Aug 22, 2011 8:23:58 PM com.sun.portal.container.service.ServiceManagerContextLi
stenerImpl contextInitialized
INFO: PSC_CSPCS002 : Finished initializing ServiceManager
Aug 22, 2011 8:23:58 PM com.sun.portal.portletcontainer.impl.PortletContainerCon
textListenerImpl contextInitialized
INFO: PSPL_PCCSPCPCI0003 : Starting PortletContainer 2.1
Aug 22, 2011 8:23:58 PM com.sun.portal.portletcontainer.driver.remote.WSRPContex
tListenerImpl contextInitialized
INFO: PSPCD_CSPPD0051 : WSRP Consumer Container is not available
Aug 22, 2011 8:23:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getPortletRenderModeParallel
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - portletRenderModeParallel = fa
lse
Aug 22, 2011 8:23:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getEnableAutoDeploy
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - enableAutodeploy = true
Aug 22, 2011 8:23:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
computeAutodeployDirWatchInterval
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - autodeployDirWatchInterval = 5

Aug 22, 2011 8:23:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getPersistToFile
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - persistenceType = file
Aug 22, 2011 8:23:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getJdbcUser
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - jdbc.user =
Aug 22, 2011 8:23:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getJdbcPassword
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - jdbc.password =
Aug 22, 2011 8:23:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getJdbcUrl
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - jdbc.url = jdbc:derby:portletd
river;create=true
Aug 22, 2011 8:23:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getJdbcDriver
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - jdbc.driver = org.apache.derby
.jdbc.EmbeddedDriver
11/08/22 20:23:58 Oracle Containers for J2EE 10g (10.1.3.5.0) initialized
Aug 22, 2011 8:27:15 PM com.sun.portal.portletcontainer.driver.DesktopServlet ge
tPortletWindowContents
INFO: PSPCD_CSPPD0022 : Number for Portlet Windows Displayed - thin: 0, thick: 0

Aug 22, 2011 8:27:23 PM com.sun.portal.portletcontainer.admin.mbeans.PortletAdmi
n preparePortlet
INFO: PSPL_CSPPAM0031 : Deploying portlet: C:\Users\insight\AppData\Local\Temp\W
elcomePortlet.war
Aug 22, 2011 8:27:23 PM com.sun.portal.portletcontainer.warupdater.PortletWarUpd
ater preparePortlet
INFO: PSPL_CSPPCWU0005 : Updating the Portlet Application C:\Users\insight\AppDa
ta\Local\Temp\WelcomePortlet.war at C:\Users\insight\portlet-container\war
Aug 22, 2011 8:27:23 PM com.sun.portal.portletcontainer.driver.admin.PortletAdmi
nDataImpl deploy
SEVERE: PSPCD_CSPPD0023
java.lang.IllegalArgumentException
at oracle.xml.jaxp.JXTransformer.setOutputProperty(JXTransformer.java:77
2)
at com.sun.portal.portletcontainer.warupdater.PortletWebAppUpdater.creat
eUpdatedFile(PortletWebAppUpdater.java:295)
at com.sun.portal.portletcontainer.warupdater.PortletWebAppUpdater.addWe
bAppParam(PortletWebAppUpdater.java:211)
at com.sun.portal.portletcontainer.warupdater.PortletWarUpdater.prepareP
ortlet(PortletWarUpdater.java:166)
at com.sun.portal.portletcontainer.admin.mbeans.PortletAdmin.preparePort
let(PortletAdmin.java:69)
at com.sun.portal.portletcontainer.admin.mbeans.PortletAdmin.deploy(Port
letAdmin.java:115)
at com.sun.portal.portletcontainer.driver.admin.PortletAdminDataImpl.dep
loy(PortletAdminDataImpl.java:78)
at com.sun.portal.portletcontainer.driver.admin.UploadServlet.deployPort
let(UploadServlet.java:149)
at com.sun.portal.portletcontainer.driver.admin.UploadServlet.uploadFile
(UploadServlet.java:119)
at com.sun.portal.portletcontainer.driver.admin.UploadServlet.doPost(Upl
oadServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
estHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
stHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
cketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
Aug 22, 2011 8:27:23 PM com.sun.portal.portletcontainer.admin.mbeans.PortletAdmi
n unregisterPortlet
INFO: PSPL_CSPPAM0032 : Undeploying portlet: WelcomePortlet
Aug 22, 2011 8:27:23 PM com.sun.portal.portletcontainer.admin.PortletRegistryGen
erator unregister
WARNING: PSPL_CSPPAM0034 : Saved portlet xml file: C:\Users\insight\portlet-cont
ainer\war\WelcomePortlet_portlet.xml not found.
11/08/22 21:07:41 Shutting down OC4J...
Terminate batch job (Y/N)? y

F:\oc4j101350\bin>oc4j -start
Starting OC4J from F:\oc4j101350\j2ee\home ...
Aug 22, 2011 9:07:58 PM com.sun.portal.container.service.ServiceManagerContextLi
stenerImpl contextInitialized
INFO: PSC_CSPCS001 : Started initializing ServiceManager
Aug 22, 2011 9:07:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Coord
inationService, Implementation: com.sun.portal.container.service.coordination.im
pl.CoordinationServiceImpl
Aug 22, 2011 9:07:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Cachi
ngService, Implementation: com.sun.portal.container.service.caching.impl.Caching
ServiceImpl
Aug 22, 2011 9:07:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Clien
tCachingService, Implementation: com.sun.portal.container.service.caching.impl.C
lientCachingServiceImpl
Aug 22, 2011 9:07:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Deplo
ymentService_Local, Implementation: com.sun.portal.container.service.deployment.
impl.DeploymentServiceLocalImpl
Aug 22, 2011 9:07:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Conta
inerEventService, Implementation: com.sun.portal.container.service.coordination.
impl.ContainerEventServiceImpl
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.ServerType loadCon
figFile
INFO: PSPL_CSPPAM0041 : pcenv.conf contains: {}
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.ServerType getServ
erHome
INFO: PSPL_CSPPAM0003 : The webcontainer is null and server home is null
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PortletRegistryHel
per getPortletContainerDir
INFO: PSPL_CSPPAM0006 : The Portlet Container Home: C:\Users\insight\portlet-con
tainer
Aug 22, 2011 9:07:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Polic
yService, Implementation: com.sun.portal.portletcontainer.driver.policy.PolicySe
rviceImpl
Aug 22, 2011 9:07:58 PM com.sun.portal.container.service.ServiceManagerContextLi
stenerImpl contextInitialized
INFO: PSC_CSPCS002 : Finished initializing ServiceManager
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.impl.PortletContainerCon
textListenerImpl contextInitialized
INFO: PSPL_PCCSPCPCI0003 : Starting PortletContainer 2.1
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.driver.remote.WSRPContex
tListenerImpl contextInitialized
INFO: PSPCD_CSPPD0051 : WSRP Consumer Container is not available
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getPortletRenderModeParallel
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - portletRenderModeParallel = fa
lse
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getEnableAutoDeploy
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - enableAutodeploy = true
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
computeAutodeployDirWatchInterval
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - autodeployDirWatchInterval = 5

Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getPersistToFile
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - persistenceType = file
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getJdbcUser
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - jdbc.user =
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getJdbcPassword
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - jdbc.password =
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getJdbcUrl
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - jdbc.url = jdbc:derby:portletd
river;create=true
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getJdbcDriver
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - jdbc.driver = org.apache.derby
.jdbc.EmbeddedDriver
11/08/22 21:07:58 Oracle Containers for J2EE 10g (10.1.3.5.0) initialized
Aug 22, 2011 9:10:52 PM com.sun.portal.portletcontainer.driver.DesktopServlet ge
tPortletWindowContents
INFO: PSPCD_CSPPD0022 : Number for Portlet Windows Displayed - thin: 0, thick: 0

Aug 22, 2011 9:22:55 PM com.sun.portal.portletcontainer.admin.mbeans.PortletAdmi
n unregisterPortlet
INFO: PSPL_CSPPAM0032 : Undeploying portlet: WelcomePortlet
Aug 22, 2011 9:22:55 PM com.sun.portal.portletcontainer.admin.PortletRegistryGen
erator unregister
WARNING: PSPL_CSPPAM0034 : Saved portlet xml file: C:\Users\insight\portlet-cont
ainer\war\WelcomePortlet_portlet.xml not found.
Aug 22, 2011 9:22:55 PM com.sun.portal.portletcontainer.admin.mbeans.PortletAdmi
n preparePortlet
INFO: PSPL_CSPPAM0031 : Deploying portlet: C:\Users\insight\AppData\Local\Temp\W
elcomePortlet.war
Aug 22, 2011 9:22:55 PM com.sun.portal.portletcontainer.warupdater.PortletWarUpd
ater preparePortlet
INFO: PSPL_CSPPCWU0005 : Updating the Portlet Application C:\Users\insight\AppDa
ta\Local\Temp\WelcomePortlet.war at C:\Users\insight\portlet-container\war
Aug 22, 2011 9:22:55 PM com.sun.portal.portletcontainer.driver.admin.PortletAdmi
nDataImpl deploy
SEVERE: PSPCD_CSPPD0023
java.lang.IllegalArgumentException
at oracle.xml.jaxp.JXTransformer.setOutputProperty(JXTransformer.java:77
2)
at com.sun.portal.portletcontainer.warupdater.PortletWebAppUpdater.creat
eUpdatedFile(PortletWebAppUpdater.java:295)
at com.sun.portal.portletcontainer.warupdater.PortletWebAppUpdater.addWe
bAppParam(PortletWebAppUpdater.java:211)
at com.sun.portal.portletcontainer.warupdater.PortletWarUpdater.prepareP
ortlet(PortletWarUpdater.java:166)
at com.sun.portal.portletcontainer.admin.mbeans.PortletAdmin.preparePort
let(PortletAdmin.java:69)
at com.sun.portal.portletcontainer.admin.mbeans.PortletAdmin.deploy(Port
letAdmin.java:115)
at com.sun.portal.portletcontainer.driver.admin.PortletAdminDataImpl.dep
loy(PortletAdminDataImpl.java:78)
at com.sun.portal.portletcontainer.driver.admin.UploadServlet.deployPort
let(UploadServlet.java:149)
at com.sun.portal.portletcontainer.driver.admin.UploadServlet.uploadFile
(UploadServlet.java:119)
at com.sun.portal.portletcontainer.driver.admin.UploadServlet.doPost(Upl
oadServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
estHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
stHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
cketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
Aug 22, 2011 9:22:55 PM com.sun.portal.portletcontainer.admin.mbeans.PortletAdmi
n unregisterPortlet
INFO: PSPL_CSPPAM0032 : Undeploying portlet: WelcomePortlet
Aug 22, 2011 9:22:55 PM com.sun.portal.portletcontainer.admin.PortletRegistryGen
erator unregister
WARNING: PSPL_CSPPAM0034 : Saved portlet xml file: C:\Users\insight\portlet-cont
ainer\war\WelcomePortlet_portlet.xml not found.

thanks in advance.

Posted by guest on August 22, 2011 at 06:41 PM IST #

Hi,

I tried setting up open portlet container with preconfigured OC4J 10.1.3.5.
I followed your steps and successfully got portlet and admin tabs in /portletdriver.
But when I try to deploy WelcomePortlet it give me error. Please check the following:

SEVERE: PSPCD_CSPPD0023
java.lang.IllegalArgumentException
at oracle.xml.jaxp.JXTransformer.setOutputProperty(JXTransformer.java:77
2)
at com.sun.portal.portletcontainer.warupdater.PortletWebAppUpdater.creat
eUpdatedFile(PortletWebAppUpdater.java:295)
at com.sun.portal.portletcontainer.warupdater.PortletWebAppUpdater.addWe
bAppParam(PortletWebAppUpdater.java:211)
at com.sun.portal.portletcontainer.warupdater.PortletWarUpdater.prepareP
ortlet(PortletWarUpdater.java:166)
at com.sun.portal.portletcontainer.admin.mbeans.PortletAdmin.preparePort
let(PortletAdmin.java:69)
at com.sun.portal.portletcontainer.admin.mbeans.PortletAdmin.deploy(Port
letAdmin.java:115)
at com.sun.portal.portletcontainer.driver.admin.PortletAdminDataImpl.dep
loy(PortletAdminDataImpl.java:78)
at com.sun.portal.portletcontainer.driver.admin.UploadServlet.deployPort
let(UploadServlet.java:149)
at com.sun.portal.portletcontainer.driver.admin.UploadServlet.uploadFile
(UploadServlet.java:119)
at com.sun.portal.portletcontainer.driver.admin.UploadServlet.doPost(Upl
oadServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
estHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
stHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
cketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
Aug 22, 2011 8:27:23 PM com.sun.portal.portletcontainer.admin.mbeans.PortletAdmi
n unregisterPortlet
INFO: PSPL_CSPPAM0032 : Undeploying portlet: WelcomePortlet
Aug 22, 2011 8:27:23 PM com.sun.portal.portletcontainer.admin.PortletRegistryGen
erator unregister
WARNING: PSPL_CSPPAM0034 : Saved portlet xml file: C:\Users\insight\portlet-cont
ainer\war\WelcomePortlet_portlet.xml not found.
11/08/22 21:07:41 Shutting down OC4J...
Terminate batch job (Y/N)? y

F:\oc4j101350\bin>oc4j -start
Starting OC4J from F:\oc4j101350\j2ee\home ...
Aug 22, 2011 9:07:58 PM com.sun.portal.container.service.ServiceManagerContextLi
stenerImpl contextInitialized
INFO: PSC_CSPCS001 : Started initializing ServiceManager
Aug 22, 2011 9:07:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Coord
inationService, Implementation: com.sun.portal.container.service.coordination.im
pl.CoordinationServiceImpl
Aug 22, 2011 9:07:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Cachi
ngService, Implementation: com.sun.portal.container.service.caching.impl.Caching
ServiceImpl
Aug 22, 2011 9:07:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Clien
tCachingService, Implementation: com.sun.portal.container.service.caching.impl.C
lientCachingServiceImpl
Aug 22, 2011 9:07:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Deplo
ymentService_Local, Implementation: com.sun.portal.container.service.deployment.
impl.DeploymentServiceLocalImpl
Aug 22, 2011 9:07:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Conta
inerEventService, Implementation: com.sun.portal.container.service.coordination.
impl.ContainerEventServiceImpl
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.ServerType loadCon
figFile
INFO: PSPL_CSPPAM0041 : pcenv.conf contains: {}
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.ServerType getServ
erHome
INFO: PSPL_CSPPAM0003 : The webcontainer is null and server home is null
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PortletRegistryHel
per getPortletContainerDir
INFO: PSPL_CSPPAM0006 : The Portlet Container Home: C:\Users\insight\portlet-con
tainer
Aug 22, 2011 9:07:58 PM com.sun.portal.container.service.ServiceManager addServi
ce
INFO: PSC_CSPCS004 : Service added, Name: com.sun.portal.container.service.Polic
yService, Implementation: com.sun.portal.portletcontainer.driver.policy.PolicySe
rviceImpl
Aug 22, 2011 9:07:58 PM com.sun.portal.container.service.ServiceManagerContextLi
stenerImpl contextInitialized
INFO: PSC_CSPCS002 : Finished initializing ServiceManager
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.impl.PortletContainerCon
textListenerImpl contextInitialized
INFO: PSPL_PCCSPCPCI0003 : Starting PortletContainer 2.1
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.driver.remote.WSRPContex
tListenerImpl contextInitialized
INFO: PSPCD_CSPPD0051 : WSRP Consumer Container is not available
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getPortletRenderModeParallel
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - portletRenderModeParallel = fa
lse
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getEnableAutoDeploy
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - enableAutodeploy = true
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
computeAutodeployDirWatchInterval
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - autodeployDirWatchInterval = 5

Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getPersistToFile
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - persistenceType = file
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getJdbcUser
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - jdbc.user =
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getJdbcPassword
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - jdbc.password =
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getJdbcUrl
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - jdbc.url = jdbc:derby:portletd
river;create=true
Aug 22, 2011 9:07:58 PM com.sun.portal.portletcontainer.admin.PropertiesContext
getJdbcDriver
INFO: PSPL_CSPPAM0035 : DriverConfig.properties - jdbc.driver = org.apache.derby
.jdbc.EmbeddedDriver
11/08/22 21:07:58 Oracle Containers for J2EE 10g (10.1.3.5.0) initialized
Aug 22, 2011 9:10:52 PM com.sun.portal.portletcontainer.driver.DesktopServlet ge
tPortletWindowContents
INFO: PSPCD_CSPPD0022 : Number for Portlet Windows Displayed - thin: 0, thick: 0

Aug 22, 2011 9:22:55 PM com.sun.portal.portletcontainer.admin.mbeans.PortletAdmi
n unregisterPortlet
INFO: PSPL_CSPPAM0032 : Undeploying portlet: WelcomePortlet
Aug 22, 2011 9:22:55 PM com.sun.portal.portletcontainer.admin.PortletRegistryGen
erator unregister
WARNING: PSPL_CSPPAM0034 : Saved portlet xml file: C:\Users\insight\portlet-cont
ainer\war\WelcomePortlet_portlet.xml not found.
Aug 22, 2011 9:22:55 PM com.sun.portal.portletcontainer.admin.mbeans.PortletAdmi
n preparePortlet
INFO: PSPL_CSPPAM0031 : Deploying portlet: C:\Users\insight\AppData\Local\Temp\W
elcomePortlet.war
Aug 22, 2011 9:22:55 PM com.sun.portal.portletcontainer.warupdater.PortletWarUpd
ater preparePortlet
INFO: PSPL_CSPPCWU0005 : Updating the Portlet Application C:\Users\insight\AppDa
ta\Local\Temp\WelcomePortlet.war at C:\Users\insight\portlet-container\war
Aug 22, 2011 9:22:55 PM com.sun.portal.portletcontainer.driver.admin.PortletAdmi
nDataImpl deploy
SEVERE: PSPCD_CSPPD0023
java.lang.IllegalArgumentException
at oracle.xml.jaxp.JXTransformer.setOutputProperty(JXTransformer.java:77
2)
at com.sun.portal.portletcontainer.warupdater.PortletWebAppUpdater.creat
eUpdatedFile(PortletWebAppUpdater.java:295)
at com.sun.portal.portletcontainer.warupdater.PortletWebAppUpdater.addWe
bAppParam(PortletWebAppUpdater.java:211)
at com.sun.portal.portletcontainer.warupdater.PortletWarUpdater.prepareP
ortlet(PortletWarUpdater.java:166)
at com.sun.portal.portletcontainer.admin.mbeans.PortletAdmin.preparePort
let(PortletAdmin.java:69)
at com.sun.portal.portletcontainer.admin.mbeans.PortletAdmin.deploy(Port
letAdmin.java:115)
at com.sun.portal.portletcontainer.driver.admin.PortletAdminDataImpl.dep
loy(PortletAdminDataImpl.java:78)
at com.sun.portal.portletcontainer.driver.admin.UploadServlet.deployPort
let(UploadServlet.java:149)
at com.sun.portal.portletcontainer.driver.admin.UploadServlet.uploadFile
(UploadServlet.java:119)
at com.sun.portal.portletcontainer.driver.admin.UploadServlet.doPost(Upl
oadServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
estHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
stHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
cketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
Aug 22, 2011 9:22:55 PM com.sun.portal.portletcontainer.admin.mbeans.PortletAdmi
n unregisterPortlet
INFO: PSPL_CSPPAM0032 : Undeploying portlet: WelcomePortlet
Aug 22, 2011 9:22:55 PM com.sun.portal.portletcontainer.admin.PortletRegistryGen
erator unregister
WARNING: PSPL_CSPPAM0034 : Saved portlet xml file: C:\Users\insight\portlet-cont
ainer\war\WelcomePortlet_portlet.xml not found.

thanks in advance.

Posted by guest on August 22, 2011 at 06:44 PM IST #

Which version jdk are you using while OC4J?

Posted by Deepak on August 25, 2011 at 01:47 PM IST #

it is java 1.6.0_16

Posted by guest on August 25, 2011 at 05:13 PM IST #

IllegalArgumentException is being thrown when attempting to set "indent-amount" property of Transformer. Looks like this is not supported in the oracle parser. I will make the changes and upload a new version of the affected jar, you can try and let me know. For faster responses, you can send mail to dev@portlet-container.java.net

Posted by Deepak on August 26, 2011 at 09:42 AM IST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Deepak Gothe

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today