Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Error Starting jboss-4.2.3.GA

 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ranchers,

I am having some problem in setting up EJB 3.0. There are exceptions when i start the server. Details of my enviroment is below:
1.Installed JDK 1.5
2.Copied jboss-4.2.3.GA
3.Added JAVA_HOME entry in jboss-4.2.3.GA/bin/run.bat
4.Added the jboss server to the eclipse

Now when i run the jboss from eclipse or from command line, i get the below error messages:

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null
at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:159)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:355)
... 162 more
Caused by: java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : property not set : javax.security.jacc.PolicyConfigurationFactory.provider
at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:144)
... 163 more
Caused by: java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null
at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:159)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:355)
... 162 more
Caused by: java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : property not set : javax.security.jacc.PolicyConfigurationFactory.provider
at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:144)
... 163 more
Caused by: java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null
at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:159)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:355)
... 162 more
Caused by: java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : property not set : javax.security.jacc.PolicyConfigurationFactory.provider
at javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:144)
... 163 more
16:37:25,953 ERROR [MainDeployer] Could not start deployment: file:/C:/Uninstall/jboss-4.2.3.GA/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null)
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@7bf9109 { url=file:/C:/Uninstall/jboss-4.2.3.GA/server/default/deploy/jboss-web.deployer/ROOT.war/ }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: Deployment FAILED reason: Error during deploy; - nested throwable: (java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null)
state: FAILED
watch: file:/C:/Uninstall/jboss-4.2.3.GA/server/default/deploy/jboss-web.deployer/ROOT.war/WEB-INF/web.xml
altDD: null
lastDeployed: 1219912645625
lastModified: 1219847338093
mbeans:

org.jboss.deployment.DeploymentInfo@6c549b4 { url=file:/C:/Uninstall/jboss-4.2.3.GA/server/default/deploy/http-invoker.sar/invoker.war/ }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: Deployment FAILED reason: Error during deploy; - nested throwable: (java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null)
state: FAILED
watch: file:/C:/Uninstall/jboss-4.2.3.GA/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/web.xml
altDD: null
lastDeployed: 1219912645781
lastModified: 1219847313093
mbeans:

ObjectName: jboss.web.deployment:war=jbossws-context.war,id=-589577273
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null)


16:37:29,515 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
16:37:29,562 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
16:37:29,562 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 22s:297ms





What is the reason of these exceptions? Did i miss anything?
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please do not post the same question in multiple forums.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic