Hi,

Thanks! That worked. My config list before moving org/apache/geronimo/Security before the Console/Jetty was...

org/apache/geronimo/ActiveMQServer
org/apache/geronimo/Server
TradeDataSource
org/apache/geronimo/Jetty
org/apache/geronimo/TomcatRuntimeDeployer
org/apache/geronimo/applications/Welcome/Jetty
org/apache/geronimo/DebugConsole
org/apache/geronimo/RuntimeDeployer
org/apache/geronimo/Tomcat
org/apache/geronimo/Console/Jetty
org/apache/geronimo/System
org/apache/geronimo/JettyRuntimeDeployer
org/apache/geronimo/SystemDatabase
org/apache/geronimo/RMINaming
org/apache/geronimo/SystemJMS
Trade
org/apache/geronimo/Security

Thanks,
Nell


*David Jencks <[EMAIL PROTECTED]>*

10/17/2005 02:15 PM
Please respond to
[email protected]


        
To
        [email protected]
cc
        
Subject
        Re: javax.security.jacc.PolicyConfigurationFactory.provider not set



        





I think that for some reason the console is being started before the server security configuration. I think we need to import the security configuration in the console plan.

Can you look at ${geronimo.home}/var/config/config.list and see if org/apache/geronimo/Console/Jetty is before or after org/apache/geronimo/Security? If before, try moving org/apache/geronimo/Security before it.

thanks
david jencks

On Oct 17, 2005, at 6:57 AM, Nell Gawor wrote:

> Hi,
>
> I undeployed an application I had deployed and now every time I > restart the server I get the following error I've pasted below. I am > using M5. I see something similar in:
>
> http://issues.apache.org/jira/browse/GERONIMO-1033
>
> but that was closed as not reproducible.
>
> If it makes any difference, I wasn't seeing this problem when I was > deploying my application with one plan. It wasn't until I tried with > three plans (one for datasource, one for JMS, and one for the J2EE app > itself) that I seeing this problem.
>
> If no one knows the cause, maybe somebody knows how I can fix my > config so the error won't occur (without reinstalling).
>
> Thanks,
> Nell
>
> C:\geronimo-1.0-M5\bin>startup.bat
> Booting Geronimo Kernel (in Java 1.4.2)...
> Starting Geronimo Application Server
> [*********> ] 56% 22s Starting > ..apache/geronimo/Console/Jetty09:52:27,8 > 29 ERROR [GBeanInstanceState] Error while starting; GBean is now in > the FAILED s > tate: > objectName="geronimo.server:J2EEApplication=org/apache/geronimo/
> Console/Je
> tty,J2EEModule=null,J2EEServer=geronimo,j2eeType=JACCManager,name=JACCM
> anager"
> java.lang.ClassNotFoundException: Property > javax.security.jacc.PolicyConfigurati
> onFactory.provider not set
> at > javax.security.jacc.PolicyConfigurationFactory$1.run(PolicyConfigurat
> ionFactory.java:81)
>        at java.security.AccessController.doPrivileged1(Native Method)
> at > java.security.AccessController.doPrivileged(AccessController.java:351
> )
> at > javax.security.jacc.PolicyConfigurationFactory.getPolicyConfiguration
> Factory(PolicyConfigurationFactory.java:75)
> at > org.apache.geronimo.security.jacc.ApplicationPolicyConfigurationManag
> er.<init>(ApplicationPolicyConfigurationManager.java:53)
> at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>
> at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
> orAccessorImpl.java:80)
> at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
> onstructorAccessorImpl.java(Compiled Code))
> at > java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled C
> ode))
> at > org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
> nstance.java(Compiled Code))
> at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:325)
> at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:110)
> at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:132)
> at > org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:497)
> at > org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:210)
> at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:140)
> at > org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:497)
> at > org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:210)
> at > org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:233)
>        at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:78)
>        at org.apache.geronimo.system.main.Daemon.main(Daemon.java:316)
>



Reply via email to