tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Some help with Security Manager
Date Mon, 06 May 2013 21:14:23 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Alejandro,

On 5/4/13 8:23 PM, Alejandro Garcia wrote:
> I’m using Tomcat with JSF, ICEFaces, Spring and JPA. The 
> configuracion and the app work very well when I deploy it with the 
> security managed disabled.

On the face of it, this appears to be a problem with JavaFaces:

> The problem is when I enable the security manager, I can’t deploy
> the app. In the I can see the next trace:
> 
> INFO: Desplieque del descriptor de configuración
> C:\Users\Alejandro\AppData\Roaming\NetBeans\7.2.1\apache-tomcat-7.0.27.0_base\conf\Catalina\localhost\web-root.xml
>
> 
may 04, 2013 1:57:06 PM org.apache.catalina.core.ContainerBase
addChildInternal
> SEVERE: ContainerBase.addChild: start: 
> org.apache.catalina.LifecycleException: Failed to start component
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/web-root]]
>
> 
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
>
> 
at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:130)
> at
> org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:153)
>
> 
at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:142)
> at java.security.AccessController.doPrivileged(Native Method) at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:869)
>
> 
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> at
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
>
> 
at
org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585)
> 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) Caused by:
> java.lang.NullPointerException at
> com.sun.faces.config.InitFacesContext.cleanupInitMaps(InitFacesContext.java:278)
>
> 
at com.sun.faces.config.InitFacesContext.<init>(InitFacesContext.java:102)
> at
> com.sun.faces.config.FacesInitializer.onStartup(FacesInitializer.java:114)
>
> 
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5262)
> at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>
> 
... 15 more

Is that everything you can find in catalina.out? If so, there's not a
lot we can comment on without replicating your environment, etc.

You might want to check on a JavaFaces-specific list for what might be
causing this error.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJRiB0vAAoJEBzwKT+lPKRY+H4P/jLNoZX5E4SIOSSjpb4Wmxab
iPXREfG86d0GW0MmWT6sAo089QfvnDTGvB+Is+2gAQZ9/gRFI8qcdImYETFdpsFp
AEbBDKn7zzlH7dkMU3aH5VBy2fwjNCOcy4gZQYEvw8Kg5xoB24Wu2Omdl12yoc63
b98rvih1KRcczLiBA+L+4BKEm78vqMsSuI0QCISP07uVVv6yw8+dAfUGqTWzO75c
ZnCQorYGYFe28w7IHp+B3nessFaUJ3+dGwEXS9zzQSZMUSRHy2oa7Lv5E1tQQV7H
QzUTLHYyjkXnSTOox9CfNFyxXiwtGZE0dy97rtSTM/Wp4hvzB95x573z36E1bJHy
AyAcArP5i55u/FKPwqTG6vEl2WZ1Ef7pzR5QTNISzM8+Q98aJ+Xg3QL+PD3YWf71
bkT2+ceoP7mAyVfd6OJDhGaAIEpBk/snihByFZr8MJnc6bahQrENNxkSdt4z6gfd
omvwshxfWuLIhg6JrEk0srV5nQh5O0ogOtsls9OaxI9CIyZi1jFpF2WK9MaYNorJ
Th734NxuH8x/GlK7QTTe36DviynA9g8wRlUZyZMnaKyNbvhx/9N39wXTwqizMwsu
kbrfctvGGJKVnj4jL1yOpWCAStIECuTvYZgX6235c5jIuC88bBT6gOymoTeLmLdC
dTglImbfCkaByuTSaKIq
=UUfX
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message