aspose file tools*
The moose likes JBoss/WildFly and the fly likes sorry what i posted i wrong in jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "sorry what i posted i wrong in jboss" Watch "sorry what i posted i wrong in jboss" New topic
Author

sorry what i posted i wrong in jboss

kishore nag
Greenhorn

Joined: Feb 18, 2010
Posts: 17
And the error is i deployed my project in jboss ,it generates .war file and my error is


ava.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

*** DEPLOYMENTS IN ERROR: Name -> Error

vfsfile:/C:/openlogic-jboss-5.1.0.GA-all-bin-1/jboss-5.1.0.GA/server/default/deploy/iportman.war/ -> org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.jacc:service=jacc,id="vfsfile:/C:/openlogic-jboss-5.1.0.GA-all-bin-1/jboss-5.1.0.GA/server/default/deploy/iportman.war/"


DEPLOYMENTS IN ERROR:
Deployment "vfsfile:/C:/openlogic-jboss-5.1.0.GA-all-bin-1/jboss-5.1.0.GA/server/default/deploy/iportman.war/" is in error due to the following reason(s): java.lang.NoSuchMethodException: org.jboss.deployment.security.WarJaccPolicy.<init>(java.lang.String, org.jboss.metadata.web.jboss.JBossWebMetaData, java.lang.Boolean)

at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:313)
at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:190)
at org.jboss.profileservice.management.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:231)
at org.jboss.profileservice.management.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:88)
at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:120)
at org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent.invokeOperation(AbstractManagedDeploymentComponent.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:482)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

*** DEPLOYMENTS IN ERROR: Name -> Error

vfsfile:/C:/openlogic-jboss-5.1.0.GA-all-bin-1/jboss-5.1.0.GA/server/default/deploy/iportman.war/ -> org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.jacc:service=jacc,id="vfsfile:/C:/openlogic-jboss-5.1.0.GA-all-bin-1/jboss-5.1.0.GA/server/default/deploy/iportman.war/"


DEPLOYMENTS IN ERROR:
Deployment "vfsfile:/C:/openlogic-jboss-5.1.0.GA-all-bin-1/jboss-5.1.0.GA/server/default/deploy/iportman.war/" is in error due to the following reason(s): java.lang.NoSuchMethodException: org.jboss.deployment.security.WarJaccPolicy.<init>(java.lang.String, org.jboss.metadata.web.jboss.JBossWebMetaData, java.lang.Boolean)

at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:265)
at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
at org.jboss.remoting.Client.invoke(Client.java:1724)
at org.jboss.remoting.Client.invoke(Client.java:629)
at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:305)
... 15 more
can any obdy help me out from this
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10266
    
168

Do you have any jboss specific jar files in your application package (the .war)? If yes, then remove them.

By the way, what's with the subject of this thread?


[My Blog] [JavaRanch Journal]
kishore nag
Greenhorn

Joined: Feb 18, 2010
Posts: 17
i am using persitence.xml file like this



<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">


<persistence-unit name="Entity" transaction-type="RESOURCE_LOCAL">
<provider>
oracle.toplink.essentials.PersistenceProvider
</provider>

<class>env.defaults.accessroles.IptAccessroles</class>
<class>env.defaults.accesstype.IptAccesstype</class>
<class>env.defaults.account.IptAccounttype</class>
<class>env.defaults.address.IptAddresstype</class>
<class>env.defaults.agenttype.IptAgenttype</class>
<class>env.defaults.application.IptApplicationtype</class>
<class>env.defaults.asset.IptAssettype</class>
<class>env.defaults.bank.IptBank</class>
<class>env.defaults.bays.IptBays</class>


<class>env.defaults.bayscargo.IptBayscargolines</class>
<class>env.defaults.baysresource.IptBaysresourcelines</class>

<class>env.defaults.berthprior.IptBerthpriormaster</class>
<class>env.defaults.bollard.IptBollardmaster</class>
<class>env.defaults.billmethodmaster.IptBillmethodmaster</class>
<class>env.defaults.cargo.IptCargotype</class>
<class>env.defaults.certificate.IptCertificatetype</class>
<class>
env.defaults.companylicensejoin.IptCompanylicensejoin
</class>
<class>env.defaults.companyagentjoin.IptCompagentjoin</class>
<class>
env.defaults.cargoqualityjoin.IptCargoqualityparamjoin
</class>
<class>env.defaults.costtypes.IptCosttypes</class>
<class>env.defaults.currency.IptCurrency</class>
<class>env.defaults.customer.IptCustomertype</class>
<class>env.defaults.cargoprecjoin.IptCargoprecjoin</class>
<class>env.defaults.cargoprecautions.IptCargoprecautions</class>
<class>env.defaults.cargosafetyjoin.IptCargosafetyjoin</class>
<class>env.defaults.cargosafetystand.IptCargosafetystand</class>
<class>env.defaults.cargotermjoin.IptCargotermjoin</class>
<class>env.defaults.department.IptDepartment</class>
<class>env.defaults.documentseries.IptDocumentseries</class>
<class>env.defaults.documentmaster.IptDocumentmaster</class>
<class>env.defaults.employee.IptEmployeetype</class>
<class>env.defaults.exchangerate.IptExchangerate</class>
<class>env.defaults.freight.IptFreight</class>
<class>env.defaults.gridmaster.IptGridmaster</class>
<class>env.defaults.gatemaster.IptGatemaster</class>
<class>env.defaults.hatchmaster.IptHatchmaster</class>
<class>env.defaults.holdmaster.IptHoldmaster</class>
<class>env.defaults.itemcategory.IptItemcategory</class>
<class>env.defaults.itemgroup.IptItemgroup</class>
<class>env.defaults.itemtype.IptItemtype</class>
<class>env.defaults.ipdchequelines.IptIpdchequelines</class>
<class>env.defaults.ipdcashlines.IptIpdcashlines</class>
<class>
env.defaults.ipdbanktranslines.IptIpdbanktranslines
</class>
<class>env.defaults.licenses.IptLicenses</class>
<class>env.defaults.module.IptModuletype</class>
<class>env.defaults.movementtypes.IptMovementtypes</class>
<class>
env.defaults.pilotoperation.IptPilotoperationmaster
</class>
<class>env.defaults.payment.IptPaymenttype</class>
<class>env.defaults.periodindicator.IptPeriodindicator</class>
<class>env.defaults.postinghead.IptPostinghead</class>
<class>env.defaults.quay.IptQuaymaster</class>
<class>env.defaults.qualityparamtype.IptQualityparamtype</class>
<class>env.defaults.resourcetype.IptResourcetype</class>
<class>
env.defaults.shiftwarphmovement.IptShiftwarphmovement
</class>
<class>env.defaults.servicecharges.IptServicecharges</class>
<class>env.defaults.services.IptServices</class>
<class>env.defaults.state.IptState</class>
<class>env.defaults.stockyardcargo.IptStockyardCargotype</class>
<!-- <class>env.defaults.statementoffacts.IptStatementoffacts</class> -->
<class>
env.defaults.servicepostingjoin.IptServicepostingjoin
</class>
<class>env.defaults.taxcategory.IptTaxcategory</class>
<class>env.defaults.taxparam.IptTaxparameter</class>
<class>env.defaults.taxtype.IptTaxtype</class>
<class>env.defaults.terminal.IptTerminaltype</class>
<class>env.defaults.tug.IptTugtype</class>
<class>env.defaults.usergroup.IptUsergroups</class>
<class>env.defaults.usertype.IptUsertype</class>
<class>env.defaults.units.IptUnits</class>
<class>env.defaults.vendor.IptVendortype</class>
<class>env.defaults.vessel.IptVesseltype</class>
<class>env.defaults.vesselrun.IptVesselruntype</class>
<class>
env.defaults.vehicletypemaster.IptVehicletypemaster
</class>

<class>
env.defaults.weighbridgemaster.IptWeighbridgemaster
</class>






<!-- Masters Class-->
<class>env.masters.agent.IptAgentmaster</class>
<class>env.masters.agreement.IptAggrementmaster</class>
<class>env.masters.addresses.IptAddresses</class>
<class>env.masters.berth.IptBerthmaster</class>
<class>
env.masters.berthavailabilitylines.IptBerthavailabilitylines
</class>
<class>
env.masters.berthbollardlines.IptBerthbollardlines
</class>
<class>env.masters.berthcargolines.IptBerthcargolines</class>
<class>
env.masters.berthresourcelines.IptBerthresourcelines
</class>
<class>env.masters.cargo.IptCargomaster</class>
<class>env.masters.companyregister.IptCompanyregister</class>
<class>env.masters.equipmaster.IptEquipmentmaster</class>
<class>env.masters.employee.IptEmployeemaster</class>
<class>env.masters.pilotmaster.IptPilotmaster</class>
<class>env.masters.port.IptPortmaster</class>
<class>env.masters.resource.IptResourcemaster</class>
<class>env.masters.resource.IptResourcemaster</class>
<class>env.masters.service.IptServicemaster</class>
<class>
env.masters.servicepostinglines.IptServicepostinglines
</class>
<class>
env.masters.servicesertaxlines.IptServicesertaxlines
</class>
<class>env.masters.stockyard.IptStkyardmaster</class>
<class>env.masters.storage.IptStoragemaster</class>
<class>env.masters.operationreason.IptOperationreason</class>
<class>env.masters.vessel.IptVesselmaster</class>
<class>
env.masters.vesselgeardetail.IptVesselgeardetaillines
</class>
<class>
env.masters.vesselpipedetail.IptVesselpidetaillines
</class>


<!-- Transactions class -->


<class>
env.transactions.anchoragerecord.IptAnchoragerecord
</class>
<class>env.transactions.anchoragelines.IptAnchoragelines</class>

<class>
env.transactions.cargodeclarationform.IptCargodeclareform
</class>
<class>env.transactions.cargogatepass.IptCargogatepass</class>
<class>env.transactions.cdfcargolines.IptCdfcargolines</class>
<class>
env.transactions.cdfqualitylines.IptCdfqualitylines
</class>
<class>
env.transactions.cargogatepasslines.IptCargogatepasslines
</class>
<class>
env.transactions.criticalhatchcalc.IptCriticalhatchcalc
</class>
<class>
env.transactions.ctchatchqualitylines.IptCtchatchqualitylines
</class>
<class>
env.transactions.ctchatchcargolines.IptCtchatchcargolines
</class>


<class>
env.transactions.deliveryreceiptorder.IptDeliveryreceiptorder
</class>

<class>
env.transactions.deliveryreceiptgatepass.IptDeliveryrcptgatepass
</class>
<class>
env.transactions.deliveryreceiptgeneral.IptDeliveryrcptgeneral
</class>
<class>
env.transactions.deliveryreceipt.IptDeliveryreceipt
</class>
<class>
env.transactions.deliveryinvoicequality.IptDeliveryinvoicequality
</class>
<class>
env.transactions.deliveryinvoice.IptDeliveryinvoice
</class>
<class>
env.transactions.deliverycargolines.IptDeliverycargolines
</class>
<class>
env.transactions.deliveryqualitylines.IptDeliveryqualitylines
</class>
<class>
env.transactions.deliveryinvoicecargo.IptDeliveryinvoicecargo
</class>
<class>
env.transactions.deliveryinvoicegate.IptDeliveryinvoicegate
</class>
<class>
env.transactions.deliveryinvoicerake.IptDeliveryinvoicerake
</class>
<class>
env.transactions.delrecqualitylines.IptDelrecqualitylines
</class>
<class>
env.transactions.deliveryreceiptrake.IptDeliveryrcptrake
</class>




<class>
env.transactions.finalinvoiceprocess.IptFinalinvoiceprocess
</class>
<class>
env.transactions.finalinvprocesslines.IptFinalinvprocesslines
</class>

<class>env.filter.IptUser</class>
<class>env.filter.IptUserId</class>


<class>
env.transactions.igmepcargolines.IptIgmepcargolines
</class>
<class>
env.transactions.impexappdetails.IptImpexpappldetails
</class>
<class>
env.transactions.impexapplication.IptImpexpapplication
</class>
<class>
env.transactions.igmqualitylines.IptIgmepqualitylines
</class>
<class>
env.transactions.importexportform.IptImportexportform
</class>
<class>
env.transactions.incomingpayment.IptIncomingpayment
</class>
<class>
env.transactions.incomingpaydetlines.IptIncomingpaydetlines
</class>
<class>
env.transactions.incomingpaygenlines.IptIncomingpaygenlines
</class>
<class>env.defaults.tdsmaster.IptTdsmaster</class>
<class>env.defaults.arinvoicetds.IptArinvoicetds</class>
<class>
env.transactions.loadqualitylines.IptLoadunloadqualitylines
</class>
<class>
env.transactions.loadingunloading.IptLoadingunloading
</class>
<class>
env.transactions.loaddelaylines.IptLoadunloaddelaylines
</class>
<class>
env.transactions.loadoperationlines.IptLoadunloadoperationlines
</class>

<class>
env.transactions.pilotrequisition.IptPilotrequisition
</class>
<class>
env.transactions.pilotagerecdelaylines.IptPilotrecdelaylines
</class>
<class>env.transactions.pilotagerecord.IptPilotagerecord</class>
<class>
env.transactions.pilotagerecpilotlines.IptPilotrecpilotlines
</class>
<class>env.transactions.railcargolines.IptRailcargolines</class>
<class>env.transactions.rakecargolines.IptRakecargolines</class>
<class>env.transactions.railwayindent.IptRailwayindent</class>
<class>env.transactions.rakeplacing.IptRakeplacing</class>
<class>
env.transactions.resourceplanlines.IptResourceplanlines
</class>
<class>
env.transactions.rakeloadunloadlines.IptRakeloadunloadlines
</class>
<class>env.transactions.rakeloadunload.IptRakeloadunload</class>
<class>
env.transactions.rakeloadunloadplan.IptRakeloadunloadplan
</class>
<class>
env.transactions.rakeloadunloadplanlines.IptRakeloadunloadplanlines
</class>
<class>
env.transactions.rakequalitylines.IptRakequalitylines
</class>

<class>
env.transactions.railqualitylines.IptRailqualitylines
</class>
<class>
env.transactions.railwaysidingmaster.IptRailwaysidingmaster
</class>
<class>env.transactions.resourceplan.IptResourceplan</class>


<class>env.transactions.stowageplan.IptStowageplan</class>
<class>
env.transactions.servicedelivery.IptServicedelivery
</class>
<class>
env.transactions.servicedeliverylines.IptServicedeliverylines
</class>
<class>env.transactions.servicerequest.IptServicerequest</class>
<class>
env.transactions.servicerequestlines.IptServicerequestlines
</class>

<class>
env.transactions.statementoffacts.IptStatementoffacts
</class>
<!-- <class>
env.transactions.statementoffactsgenlines.IptStateoffactsgenlines
</class>-->
<class>env.transactions.stocktransfer.IptStocktransfer</class>
<class>
env.transactions.stktransqualitylines.IptStktransqualitylines
</class>
<class>
env.transactions.stktranscargolines.IptStktranscargolines
</class>
<class>
env.transactions.stowagequalitylines.IptStowagequalitylines
</class>
<class>
env.transactions.stowagecargolines.IptStowagecargolines
</class>
<class>env.transactions.stsoperations.IptStsoperations</class>

<class>env.transactions.towagedetails.IptTowagedetails</class>
<class>
env.transactions.towageoperation.IptTowageoperation
</class>



<class>
env.transactions.vesselmoveorder.IptVesselmoveorder
</class>
<class>
env.transactions.vesselmovesheetdetail.IptVesselmovesheetdetail
</class>
<class>
env.transactions.vesselperformsheet.IptVesselperformsheet
</class>
<class>
env.transactions.vesselcallrecdetail.IptVesselcallrecdetail
</class>
<class>
env.transactions.vanqualitylines.IptVanqualitylines
</class>
<class>env.transactions.vancargolines.IptVancargolines</class>
<class>env.transactions.vwpcargolines.IptVwpcargolines</class>
<class>
env.transactions.vesselmovesheet.IptVesselmovesheet
</class>
<class>env.transactions.vantowagelines.IptVantowagelines</class>
<class>
env.transactions.vanservicelines.IptVanservicelines
</class>
<class>
env.transactions.vesselcallrecord.IptVesselcallrecord
</class>
<class>
env.transactions.vesselarrivalnotice.IptVesselarrivalnotice
</class>
<class>
env.transactions.vesselworkingplan.IptVesselworkplan
</class>


<class>env.tariff.estate.IptEstatetariff</class>
<class>env.tariff.estatetarifflines.IptEstatetarifflines</class>
<class>env.tariff.mechanical.IptMechanicaltariff</class>
<class>
env.tariff.mechanicaltarifflines.IptMechanicaltarifflines
</class>
<class>env.tariff.vesseltarifflines.IptVesseltarifflines</class>
<class>env.tariff.warfage.IptWarfagetariff</class>
<class>
env.tariff.warfagetarifflines.IptWarfagetarifflines
</class>
<class>env.tariff.vessel.IptVesseltariff</class>
<class>
env.transactions.vancertificatelines.IptVancertificatelines
</class>

<class>
env.transactions.stateoffactsgenlines.IptStateoffactsgenlines
</class>
<class>
env.transactions.statementoffacts.IptStatementoffacts
</class>
<class>
env.transactions.stktyardhandover.IptStkyardhandover
</class>
<class>
env.transactions.stktyardhandover.IptStkyardhandover
</class>
<class>env.transactions.sytsurveylines.IptSytsurveylines</class>
<class>env.transactions.sytcargolines.IptSytcargolines</class>
<class>env.transactions.syhcargolines.IptSyhcargolines</class>
<class>env.transactions.syhsurveylines.IptSyhsurveylines</class>
<class>
env.transactions.stkyardtakeover.IptStkyardtakeover
</class>
<class>
env.transactions.syhresourcelines.IptSyhresourcelines
</class>
<class>
env.transactions.sytresourcelines.IptSytresourcelines
</class>
<class>
env.transactions.servicedelivery.IptServicedelivery
</class>
<class>
env.transactions.servicedeliverylines.IptServicedeliverylines
</class>
<class>
env.transactions.servicedelivery.IptServicedelivery
</class>
<class>
env.transactions.servicedelivery.IptServicedelivery
</class>
<class>
env.transactions.servicedelivery.IptServicedelivery
</class>
<class>
env.transactions.servicerequestlines.IptServicerequestlines
</class>
<class>
env.transactions.servicerequestlines.IptServicerequestlines
</class>
<class>
env.transactions.servicerequestlines.IptServicerequestlines
</class>
<class>
env.transactions.servicedelivery.IptServicedelivery
</class>
<class>
env.transactions.servicedelivery.IptServicedelivery
</class>
<class>
env.transactions.servicedelivery.IptServicedelivery
</class>
<class>
env.transactions.servicedelivery.IptServicedelivery
</class>
<properties>
<property name="toplink.jdbc.driver"
value="oracle.jdbc.OracleDriver" />
<property name="toplink.jdbc.url"
value="jdbcracle:thin:@192.168.2.192:1521:IPORT" />
<property name="toplink.jdbc.user" value="IPORT" />
<property name="toplink.jdbc.password" value="IPORT" />
</properties>
</persistence-unit>

</persistence>



and iam getting the error is



14:41:12,984 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=#Entity state=Create
java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] - You have not defined a non-jta-data-source for a RESOURCE_LOCAL enabled persistence context named: Entity
at org.jboss.jpa.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:124)
at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:275)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


please tell me hjow to deploy my project in to jboss and how to run it and what is error please ..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sorry what i posted i wrong in jboss