You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by joostvanrooij <jo...@hotmail.com> on 2013/04/16 14:37:44 UTC
Deploy on using TomEE 1.5.2 Netbeans 7.3
I cannot deploy a web application from Netbeans 7.3 to TomEE 1.5.2I get the
following error when deploying:/TestTomEE/META-INF/context.xml (No such file
or
directory)/home/joost/NetBeansProjects/TestTomEE/nbproject/build-impl.xml:1033:
The module has not been deployed.See the server log for details./The
META-INF/context.xml file is present.This is in the server log:/Apr 16, 2013
1:45:58 PM org.apache.catalina.core.StandardContext listenerStartSEVERE:
Exception sending context initialized event to listener instance of class
org.apache.myfaces.webapp.StartupServletContextListenerjava.lang.LinkageError:
com/sun/crypto/provider/DESKey at
com.sun.crypto.provider.DESKeyGenerator.engineGenerateKey(DESKeyGenerator.java:114)
at javax.crypto.KeyGenerator.generateKey(KeyGenerator.java:530) at
org.apache.myfaces.shared.util.StateUtils.findSecret(StateUtils.java:888) at
org.apache.myfaces.shared.util.StateUtils.findSecret(StateUtils.java:876) at
org.apache.myfaces.shared.util.StateUtils.initSecret(StateUtils.java:781) at
org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:148)
at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:119)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977) at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at
java.util.concurrent.FutureTask.run(FutureTask.java:166) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)/When I build the war and upload it
to TomEE using the Tomcat Manager it works just fine. The problem usually
occurs after creating a web.xml with JSF settings in it. This is the web.xml
generated by Netbeans:/<?xml version="1.0" encoding="UTF-8"?>
Faces Servlet javax.faces.webapp.FacesServlet 1
Faces Servlet /faces/* 30
faces/index.xhtml /
--
View this message in context: http://openejb.979440.n4.nabble.com/Deploy-on-using-TomEE-1-5-2-Netbeans-7-3-tp4662296.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Deploy on using TomEE 1.5.2 Netbeans 7.3
Posted by "Howard W. Smith, Jr." <sm...@gmail.com>.
Please refer to the following:
http://tomee.apache.org/tomee-and-netbeans.html
http://lmgtfy.com/?q=tomee+deploy+netbeans
TomEE 1.6.0 snapshot (Romain beat me to the response) :)
https://repository.apache.org/content/groups/snapshots/org/apache/openejb/apache-tomee/1.6.0-SNAPSHOT/
On Tue, Apr 16, 2013 at 8:37 AM, joostvanrooij
<jo...@hotmail.com>wrote:
> I cannot deploy a web application from Netbeans 7.3 to TomEE 1.5.2I get the
> following error when deploying:/TestTomEE/META-INF/context.xml (No such
> file
> or
>
> directory)/home/joost/NetBeansProjects/TestTomEE/nbproject/build-impl.xml:1033:
> The module has not been deployed.See the server log for details./The
> META-INF/context.xml file is present.This is in the server log:/Apr 16,
> 2013
> 1:45:58 PM org.apache.catalina.core.StandardContext listenerStartSEVERE:
> Exception sending context initialized event to listener instance of class
>
> org.apache.myfaces.webapp.StartupServletContextListenerjava.lang.LinkageError:
> com/sun/crypto/provider/DESKey at
>
> com.sun.crypto.provider.DESKeyGenerator.engineGenerateKey(DESKeyGenerator.java:114)
> at javax.crypto.KeyGenerator.generateKey(KeyGenerator.java:530) at
> org.apache.myfaces.shared.util.StateUtils.findSecret(StateUtils.java:888)
> at
> org.apache.myfaces.shared.util.StateUtils.findSecret(StateUtils.java:876)
> at
> org.apache.myfaces.shared.util.StateUtils.initSecret(StateUtils.java:781)
> at
>
> org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:148)
> at
>
> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:119)
> at
>
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797)
> at
>
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
> at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977) at
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at
> java.util.concurrent.FutureTask.run(FutureTask.java:166) at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:722)/When I build the war and upload it
> to TomEE using the Tomcat Manager it works just fine. The problem usually
> occurs after creating a web.xml with JSF settings in it. This is the
> web.xml
> generated by Netbeans:/<?xml version="1.0" encoding="UTF-8"?>
> Faces Servlet javax.faces.webapp.FacesServlet 1
> Faces Servlet /faces/* 30
> faces/index.xhtml /
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Deploy-on-using-TomEE-1-5-2-Netbeans-7-3-tp4662296.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Deploy on using TomEE 1.5.2 Netbeans 7.3
Posted by Romain Manni-Bucau <rm...@gmail.com>.
hi,
does it occur with 1.6.0-SNAPSHOT?
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/4/16 joostvanrooij <jo...@hotmail.com>
> I cannot deploy a web application from Netbeans 7.3 to TomEE 1.5.2I get the
> following error when deploying:/TestTomEE/META-INF/context.xml (No such
> file
> or
>
> directory)/home/joost/NetBeansProjects/TestTomEE/nbproject/build-impl.xml:1033:
> The module has not been deployed.See the server log for details./The
> META-INF/context.xml file is present.This is in the server log:/Apr 16,
> 2013
> 1:45:58 PM org.apache.catalina.core.StandardContext listenerStartSEVERE:
> Exception sending context initialized event to listener instance of class
>
> org.apache.myfaces.webapp.StartupServletContextListenerjava.lang.LinkageError:
> com/sun/crypto/provider/DESKey at
>
> com.sun.crypto.provider.DESKeyGenerator.engineGenerateKey(DESKeyGenerator.java:114)
> at javax.crypto.KeyGenerator.generateKey(KeyGenerator.java:530) at
> org.apache.myfaces.shared.util.StateUtils.findSecret(StateUtils.java:888)
> at
> org.apache.myfaces.shared.util.StateUtils.findSecret(StateUtils.java:876)
> at
> org.apache.myfaces.shared.util.StateUtils.initSecret(StateUtils.java:781)
> at
>
> org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:148)
> at
>
> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:119)
> at
>
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797)
> at
>
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
> at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977) at
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at
> java.util.concurrent.FutureTask.run(FutureTask.java:166) at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:722)/When I build the war and upload it
> to TomEE using the Tomcat Manager it works just fine. The problem usually
> occurs after creating a web.xml with JSF settings in it. This is the
> web.xml
> generated by Netbeans:/<?xml version="1.0" encoding="UTF-8"?>
> Faces Servlet javax.faces.webapp.FacesServlet 1
> Faces Servlet /faces/* 30
> faces/index.xhtml /
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Deploy-on-using-TomEE-1-5-2-Netbeans-7-3-tp4662296.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.