Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes EJB and other Java EE Technologies and the fly likes Error Starting jboss-4.2.3.GA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Error Starting jboss-4.2.3.GA" Watch "Error Starting jboss-4.2.3.GA" New topic
Author

Error Starting jboss-4.2.3.GA

Faraz Ali
Ranch Hand

Joined: May 15, 2008
Posts: 108
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?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9943
    
159

Please do not post the same question in multiple forums.


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error Starting jboss-4.2.3.GA
 
Similar Threads
MDB in JBoss listening to a Weblogic queue
Error starting jboss-4.2.3.GA
deployment exception
startup exceptions with jboss 4.0.1
problems deploying with jboss