Do you mean v3 preview (not prelude)? I would not recommend Prelude
(it's pretty old by now).
v3 Preview uses EclipseLink which would require you to edit your
persistence.xml.
Check out Wouter blog entry :
http://technology.amis.nl/blog/6539/migrating-your-web-applications-from-jee5-to-jee6
-Alexis
On Nov 29, 2009, at 16:59, glassfish_at_javadesktop.org wrote:
> I have recently migrated to prelude.. from 2.1
>
> Reinstalled netbeans to newest..
>
>
>
> on trying to run the project:
>
>
>
>
> [code]
> INFO: The Admin Console application is loaded.
> INFO: Started bundle org.glassfish.common.amx-impl [21]
> INFO: AMXStartupService: loaded 146 AMX MBeans in 949 ms (wall-clock
> time)
> INFO: Started bundle org.glassfish.jdbc.jdbc-admin [39]
> SEVERE: Cannot bind derby_netPool to naming manager
> javax.naming.NamingException: java:comp namespace cannot be modified
> at
> com
> .sun
> .enterprise.naming.impl.JavaURLContext.rebind(JavaURLContext.java:205)
> at
> com
> .sun.enterprise.naming.impl.SerialContext.rebind(SerialContext.java:
> 329)
> at
> com
> .sun.enterprise.naming.impl.SerialContext.rebind(SerialContext.java:
> 348)
> at javax.naming.InitialContext.rebind(InitialContext.java:412)
> at
> com
> .sun
> .enterprise
> .naming
> .impl
> .GlassfishNamingManagerImpl
> .publishObject(GlassfishNamingManagerImpl.java:183)
> at
> com
> .sun
> .enterprise
> .naming
> .impl
> .GlassfishNamingManagerImpl
> .publishObject(GlassfishNamingManagerImpl.java:144)
> at
> org
> .glassfish
> .javaee
> .services
> .ResourceAdaptersBinder.bindResource(ResourceAdaptersBinder.java:111)
> at
> org
> .glassfish
> .javaee
> .services
> .ResourceAdaptersBinder
> .deployAllJdbcResourcesAndPools(ResourceAdaptersBinder.java:83)
> at org.glassfish.javaee.services.ResourceManager
> $1.handleAddEvent(ResourceManager.java:345)
> at org.glassfish.javaee.services.ResourceManager
> $1.changed(ResourceManager.java:299)
> at
> org
> .jvnet.hk2.config.ConfigSupport.sortAndDispatch(ConfigSupport.java:
> 277)
> at
> org
> .glassfish
> .javaee.services.ResourceManager.changed(ResourceManager.java:284)
> at org.jvnet.hk2.config.Transactions
> $ConfigListenerJob.process(Transactions.java:236)
> at org.jvnet.hk2.config.Transactions$ListenerInfo
> $1.run(Transactions.java:108)
> at java.util.concurrent.Executors
> $RunnableAdapter.call(Executors.java:441)
> at java.util.concurrent.FutureTask
> $Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor
> $Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor
> $Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> INFO: Started bundle org.glassfish.deployment.deployment-admin [70]
> INFO: Started bundle org.glassfish.connectors.gf-connectors-
> connector [77]
> SEVERE: Class [ javax/interceptor/InvocationContext ] not found.
> Error while loading [ class
> org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor ]
> WARNING: Error in annotation processing:
> java.lang.NoClassDefFoundError: javax/interceptor/InvocationContext
> SEVERE: Exception while invoking class
> org.glassfish.persistence.jpa.JPADeployer prepare method
> java.lang.RuntimeException: java.lang.ClassNotFoundException:
> oracle.toplink.essentials.PersistenceProvider
> at
> org
> .glassfish.persistence.jpa.JPAApplication.loadPU(JPAApplication.java:
> 194)
> at
> org
> .glassfish
> .persistence.jpa.JPAApplication.loadAllPus(JPAApplication.java:156)
> at
> org
> .glassfish.persistence.jpa.JPAApplication.<init>(JPAApplication.java:
> 92)
> at
> org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:
> 121)
> at
> com
> .sun
> .enterprise
> .v3.server.ApplicationLifecycle.prepare(ApplicationLifecycle.java:447)
> at
> com
> .sun
> .enterprise
> .v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:173)
> at
> org
> .glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:
> 329)
> at com.sun.enterprise.v3.admin.CommandRunner
> $2.execute(CommandRunner.java:297)
> at
> com
> .sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:
> 312)
> at
> com
> .sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:
> 119)
> at
> com
> .sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:
> 99)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:
> 250)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:
> 176)
> at
> com
> .sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:
> 147)
> at
> com
> .sun
> .enterprise
> .v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
> at
> com
> .sun
> .grizzly
> .http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:
> 633)
> at
> com
> .sun
> .grizzly
> .http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
> at
> com
> .sun
> .grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:
> 827)
> at
> com
> .sun
> .grizzly
> .http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
> at
> com
> .sun
> .enterprise
> .v3
> .services
> .impl
> .GlassfishProtocolChain
> .executeProtocolFilter(GlassfishProtocolChain.java:71)
> at
> com
> .sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
> 103)
> at
> com
> .sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
> 89)
> at
> com
> .sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> at
> com
> .sun
> .grizzly
> .ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
> at
> com
> .sun
> .grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
> at
> com
> .sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:
> 325)
> at
> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
> Caused by: java.lang.ClassNotFoundException:
> oracle.toplink.essentials.PersistenceProvider
> at
> org
> .glassfish
> .web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1509)
> at
> org
> .glassfish.persistence.jpa.JPAApplication.loadPU(JPAApplication.java:
> 188)
> ... 26 more
> SEVERE: Exception while deploying the app
> java.lang.RuntimeException: java.lang.ClassNotFoundException:
> oracle.toplink.essentials.PersistenceProvider
> at
> org
> .glassfish.persistence.jpa.JPAApplication.loadPU(JPAApplication.java:
> 194)
> at
> org
> .glassfish
> .persistence.jpa.JPAApplication.loadAllPus(JPAApplication.java:156)
> at
> org
> .glassfish.persistence.jpa.JPAApplication.<init>(JPAApplication.java:
> 92)
> at
> org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:
> 121)
> at
> com
> .sun
> .enterprise
> .v3.server.ApplicationLifecycle.prepare(ApplicationLifecycle.java:447)
> at
> com
> .sun
> .enterprise
> .v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:173)
> at
> org
> .glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:
> 329)
> at com.sun.enterprise.v3.admin.CommandRunner
> $2.execute(CommandRunner.java:297)
> at
> com
> .sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:
> 312)
> at
> com
> .sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:
> 119)
> at
> com
> .sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:
> 99)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:
> 250)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:
> 176)
> at
> com
> .sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:
> 147)
> at
> com
> .sun
> .enterprise
> .v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
> at
> com
> .sun
> .grizzly
> .http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:
> 633)
> at
> com
> .sun
> .grizzly
> .http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
> at
> com
> .sun
> .grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:
> 827)
> at
> com
> .sun
> .grizzly
> .http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
> at
> com
> .sun
> .enterprise
> .v3
> .services
> .impl
> .GlassfishProtocolChain
> .executeProtocolFilter(GlassfishProtocolChain.java:71)
> at
> com
> .sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
> 103)
> at
> com
> .sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
> 89)
> at
> com
> .sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> at
> com
> .sun
> .grizzly
> .ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
> at
> com
> .sun
> .grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
> at
> com
> .sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:
> 325)
> at
> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
> Caused by: java.lang.ClassNotFoundException:
> oracle.toplink.essentials.PersistenceProvider
> at
> org
> .glassfish
> .web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1509)
> at
> org
> .glassfish.persistence.jpa.JPAApplication.loadPU(JPAApplication.java:
> 188)
> ... 26 more
> SEVERE: Exception while shutting down application container
> java.lang.NullPointerException
> at com.sun.enterprise.web.WebDeployer.unload(WebDeployer.java:
> 222)
> at com.sun.enterprise.web.WebDeployer.unload(WebDeployer.java:
> 63)
> at
> com
> .sun
> .enterprise
> .v3.server.ApplicationLifecycle.unload(ApplicationLifecycle.java:789)
> at
> com
> .sun
> .enterprise
> .v3.server.ApplicationLifecycle.unload(ApplicationLifecycle.java:647)
> at com.sun.enterprise.v3.server.ApplicationLifecycle
> $1.actOn(ApplicationLifecycle.java:158)
> at
> com
> .sun
> .enterprise
> .v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:198)
> at
> org
> .glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:
> 329)
> at com.sun.enterprise.v3.admin.CommandRunner
> $2.execute(CommandRunner.java:297)
> at
> com
> .sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:
> 312)
> at
> com
> .sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:
> 119)
> at
> com
> .sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:
> 99)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:
> 250)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:
> 176)
> at
> com
> .sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:
> 147)
> at
> com
> .sun
> .enterprise
> .v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
> at
> com
> .sun
> .grizzly
> .http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:
> 633)
> at
> com
> .sun
> .grizzly
> .http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
> at
> com
> .sun
> .grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:
> 827)
> at
> com
> .sun
> .grizzly
> .http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
> at
> com
> .sun
> .enterprise
> .v3
> .services
> .impl
> .GlassfishProtocolChain
> .executeProtocolFilter(GlassfishProtocolChain.java:71)
> at
> com
> .sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
> 103)
> at
> com
> .sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
> 89)
> at
> com
> .sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> at
> com
> .sun
> .grizzly
> .ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
> at
> com
> .sun
> .grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
> at
> com
> .sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:
> 325)
> at
> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
> [/code]
> [Message sent by forum member 'sandstorm_sh' ]
>
> http://forums.java.net/jive/thread.jspa?messageID=373745
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>