Bug 179282 - I want to test portlet with Open portal portlet container 2.x,when I deploy the web project occur the exception
I want to test portlet with Open portal portlet container 2.x,when I deploy t...
Status: NEW
Product: contrib
Classification: Unclassified
Component: Portalpack
6.x
PC Other
: P1 (vote)
: TBD
Assigned To: Satyaranjan D
issues@contrib
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-07 04:59 UTC by howard2010
Modified: 2011-11-16 14:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description howard2010 2010-01-07 04:59:51 UTC
Checking Portlet Container Installation ...CHECK_SUCCESSFULUpdating configuration from org.apache.felix.fileinstall-autodeploy-bundles.cfg
Installed D:\glassfishv3\glassfish\modules\autostart\org.apache.felix.fileinstall-autodeploy-bundles.cfg
{felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = D:\glassfishv3\glassfish\domains\domain1\autodeploy\bundles, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\Users\howard\AppData\Local\Temp\fileinstall--8263934803316317624, felix.fileinstall.filter = null}
java.lang.ClassNotFoundException: com.sun.enterprise.deployapi.SunDeploymentFactory
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at org.netbeans.modules.portalpack.servers.core.JSR88DeploymentHandler.getDeploymentManager(JSR88DeploymentHandler.java:144)
        at org.netbeans.modules.portalpack.servers.core.JSR88DeploymentHandler.runApp(JSR88DeploymentHandler.java:173)
        at org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.GlassFishServerDeployHandler._deploy(GlassFishServerDeployHandler.java:269)
        at org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.GlassFishServerDeployHandler._deploy(GlassFishServerDeployHandler.java:231)
        at org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.GlassFishServerDeployHandler.deploy(GlassFishServerDeployHandler.java:195)
        at org.netbeans.modules.portalpack.servers.jnpc.impl.JNPCTaskHandler.deploy(JNPCTaskHandler.java:96)
        at org.netbeans.modules.portalpack.servers.core.PSDeployerImpl.run(PSDeployerImpl.java:161)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: Could not get DeploymentManager
        at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(DeploymentFactoryManager.java:138)
        at org.netbeans.modules.portalpack.servers.core.JSR88DeploymentHandler.getDeploymentManager(JSR88DeploymentHandler.java:157)
        at org.netbeans.modules.portalpack.servers.core.JSR88DeploymentHandler.runApp(JSR88DeploymentHandler.java:173)
        at org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.GlassFishServerDeployHandler._deploy(GlassFishServerDeployHandler.java:269)
        at org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.GlassFishServerDeployHandler._deploy(GlassFishServerDeployHandler.java:231)
        at org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.GlassFishServerDeployHandler.deploy(GlassFishServerDeployHandler.java:195)
        at org.netbeans.modules.portalpack.servers.jnpc.impl.JNPCTaskHandler.deploy(JNPCTaskHandler.java:96)
        at org.netbeans.modules.portalpack.servers.core.PSDeployerImpl.run(PSDeployerImpl.java:161)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
java.lang.ClassNotFoundException: com.sun.enterprise.deployapi.SunDeploymentFactory
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at org.netbeans.modules.portalpack.servers.core.JSR88DeploymentHandler.getDeploymentManager(JSR88DeploymentHandler.java:144)
        at org.netbeans.modules.portalpack.servers.core.JSR88DeploymentHandler.runApp(JSR88DeploymentHandler.java:173)
        at org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.GlassFishServerDeployHandler._deploy(GlassFishServerDeployHandler.java:269)
        at org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.GlassFishServerDeployHandler._deploy(GlassFishServerDeployHandler.java:231)
        at org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.GlassFishServerDeployHandler.deploy(GlassFishServerDeployHandler.java:195)
        at org.netbeans.modules.portalpack.servers.jnpc.impl.JNPCTaskHandler.deploy(JNPCTaskHandler.java:96)
        at org.netbeans.modules.portalpack.servers.core.PSDeployerImpl.run(PSDeployerImpl.java:161)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: Could not get DeploymentManager
        at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(DeploymentFactoryManager.java:138)
        at org.netbeans.modules.portalpack.servers.core.JSR88DeploymentHandler.getDeploymentManager(JSR88DeploymentHandler.java:157)
        at org.netbeans.modules.portalpack.servers.core.JSR88DeploymentHandler.runApp(JSR88DeploymentHandler.java:173)
        at org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.GlassFishServerDeployHandler._deploy(GlassFishServerDeployHandler.java:269)
        at org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.GlassFishServerDeployHandler._deploy(GlassFishServerDeployHandler.java:231)
        at org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.GlassFishServerDeployHandler.deploy(GlassFishServerDeployHandler.java:195)
        at org.netbeans.modules.portalpack.servers.jnpc.impl.JNPCTaskHandler.deploy(JNPCTaskHandler.java:96)
        at org.netbeans.modules.portalpack.servers.core.PSDeployerImpl.run(PSDeployerImpl.java:161)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
java.lang.NullPointerException
        at org.netbeans.modules.portalpack.servers.core.JSR88DeploymentHandler.runApp(JSR88DeploymentHandler.java:173)
        at org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.GlassFishServerDeployHandler._deploy(GlassFishServerDeployHandler.java:269)
        at org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.GlassFishServerDeployHandler._deploy(GlassFishServerDeployHandler.java:231)
        at org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.GlassFishServerDeployHandler.deploy(GlassFishServerDeployHandler.java:195)
        at org.netbeans.modules.portalpack.servers.jnpc.impl.JNPCTaskHandler.deploy(JNPCTaskHandler.java:96)
        at org.netbeans.modules.portalpack.servers.core.PSDeployerImpl.run(PSDeployerImpl.java:161)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
PortalPack Message : Deployment Failed : null
Comment 1 riktam 2010-04-19 09:19:33 UTC
Hallo howard, have the same problem with GlassFish 3 and OpenPortal 2.0 (or 2.1.1)
I found the class on the server, but with a different package:
org.glassfish.deployapi.SunDeploymentFactory

The wrong call in Portalpack 3.0.3 is located in "base_psframework.jar" in:
org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.GlassFishServerDeployHandler


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo