Simon Rajh [https://community.jboss.org/people/simonrajh] created the discussion

"SAR Project problem"

To view the discussion, visit: https://community.jboss.org/message/646668#646668

--------------------------------------------------------------
Hi everyone!

I'm having some trouble running (i'm a rookie in jboss) my SAR project on JBoss 
7.0.2. My project contains source code and libraries (JARS) which are included 
from another project in my IDE (Eclipse). I also have 
sarcontent/META_INF/jboss-service.xml file and MBean*.

<?xml version="1.0" encoding="UTF-8"?>
<server xmlns="urn:jboss:service:7.0"
      xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance 
http://www.w3.org/2001/XMLSchema-instance";
      xsi:schemaLocation="urn:jboss:service:7.0 jboss-service_7_0.xsd">
    <mbean code="my.package.Data" 
name="service.server.monitor:service=MyMonitor">
         <attribute name="Frequency">5000</attribute>
    </mbean>
</server>

*Article:  http://middlewaremagic.com/jboss/?p=366 
http://middlewaremagic.com/jboss/?p=366

When iI'm trying to run this sar project on jboss server it says, that couldn't 
find specific class which is located in one of my JARs. But it is in there. If 
I create web project and start it from web container it's working 
properly.Because project is very complex I also tried with simple sar project 
and my problematical library. It worked well.

Jboss server log:
2:49:39,486 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 
2) Deployment of "MySAR.sar" was rolled back with failure message {"Failed 
services" => {"jboss.deployment.unit.\"MySAR.sar\".INSTALL" => 
"org.jboss.msc.service.StartException in service 
jboss.deployment.unit.\"MySAR.sar\".INSTALL: Failed to process phase INSTALL of 
deployment \"MySAR.sar\""}}
12:49:39,501 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) 
Service status report
  Services which failed to start:
      service jboss.deployment.unit."MySAR.sar".INSTALL: 
org.jboss.msc.service.StartException in service 
jboss.deployment.unit."MySAR.sar".INSTALL: Failed to process phase INSTALL of 
deployment "MySAR.sar"


12:49:39,501 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) 
{"Composite operation failed and was rolled back. Steps that failed:" => 
{"Operation step-2" => {"Failed services" => 
{"jboss.deployment.unit.\"MySAR.sar\".INSTALL" => 
"org.jboss.msc.service.StartException in service 
jboss.deployment.unit.\"MySAR.sar\".INSTALL: Failed to process phase INSTALL of 
deployment \"MySAR.sar\""}}}}
12:49:39,564 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) 
Stopped deployment MySAR.sar in 70ms


Any idea?

P.S.: sorry for my bad english  :)
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/646668#646668]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to