Hi,
I had run the project and got the mobicents-smsc-server directory to be copied into Jboss. But when deploying the jboss i am getting error.
The error Log:
17:21:45,895 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015004: Caught exception writing deployment marker file /home/jboss/jboss-as-7.1.1.Final/standalone/deployments/mobicents-smsc-server/lib/asn-2.0.0-20130624.000259-57.jar.pending: java.io.FileNotFoundException: /home/jboss/jboss-as-7.1.1.Final/standalone/deployments/mobicents-smsc-server/lib/asn-2.0.0-20130624.000259-57.jar.pending (Permission denied)
at java.io.FileOutputStream.open(Native Method) [rt.jar:1.7.0_45]
at java.io.FileOutputStream.<init>(FileOutputStream.java:221) [rt.jar:1.7.0_45]
at java.io.FileOutputStream.<init>(FileOutputStream.java:171) [rt.jar:1.7.0_45]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.createMarkerFile(FileSystemDeploymentService.java:890) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.access$2600(FileSystemDeploymentService.java:88) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScannerTask.<init>(FileSystemDeploymentService.java:936) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScannerTask.<init>(FileSystemDeploymentService.java:925) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ContentAddingTask.<init>(FileSystemDeploymentService.java:990) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeployTask.<init>(FileSystemDeploymentService.java:1036) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeployTask.<init>(FileSystemDeploymentService.java:1033) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.addContentAddingTask(FileSystemDeploymentService.java:645) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scanDirectory(FileSystemDeploymentService.java:552) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scanDirectory(FileSystemDeploymentService.java:613) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scanDirectory(FileSystemDeploymentService.java:613) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:336) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentScanRunnable.run(FileSystemDeploymentService.java:149) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_45]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [rt.jar:1.7.0_45]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_45]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA.jar:
2.0.0.GA]
17:21:45,937 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015010: The deployment scanner found a directory named META-INF that was not inside a directory whose name ends with .ear, .jar, .rar, .sar or .war. This is likely the result of unzipping an archive directly inside the /home/jboss/jboss-as-7.1.1.Final/standalone/deployments directory, which is a user error. The META-INF directory will not be scanned for deployments, but it is possible that the scanner mayfind other files from the unzipped archive and attempt to deploy them, leading to errors.
17:21:45,947 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015004: Caught exception writing deployment marker file /home/jboss/jboss-as-7.1.1.Final/standalone/deployments/mobicents-smsc-server/lib/asn-2.0.0-20130624.000259-57.jar.isdeploying: java.io.FileNotFoundException: /home/jboss/jboss-as-7.1.1.Final/standalone/deployments/mobicents-smsc-server/lib/asn-2.0.0-20130624.000259-57.jar.isdeploying (Permission denied)
at java.io.FileOutputStream.open(Native Method) [rt.jar:1.7.0_45]
at java.io.FileOutputStream.<init>(FileOutputStream.java:221) [rt.jar:1.7.0_45]
at java.io.FileOutputStream.<init>(FileOutputStream.java:171) [rt.jar:1.7.0_45]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.createMarkerFile(FileSystemDeploymentService.java:890) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.access$2600(FileSystemDeploymentService.java:88) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ScannerTask.recordInProgress(FileSystemDeploymentService.java:942) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:397) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentScanRunnable.run(FileSystemDeploymentService.java:149) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_45]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [rt.jar:1.7.0_45]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_45]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA.jar:
2.0.0.GA]
17:21:46,090 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
17:21:46,127 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "asn-2.0.0-20130624.000259-57.jar"
17:21:46,320 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) JBossOSGi Framework Core - 1.1.8.Final
17:21:46,414 INFO [
org.jboss.as] (MSC service thread 1-4) JBAS015951: Admin console listening on
http://127.0.0.1:999017:21:46,415 ERROR [
org.jboss.as] (MSC service thread 1-4) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 4200ms - Started 151 of 227 services (1 services failed or missing dependencies, 74 services are passive or on-demand)
17:21:46,464 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: system.bundle:0.0.0
17:21:46,754 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: org.apache.felix.log:1.0.0
17:21:46,757 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: jboss-osgi-logging:1.0.0
17:21:46,779 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: javax.transaction.api:0.0.0
17:21:46,794 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: jboss-as-osgi-configadmin:7.1.1.Final
17:21:47,261 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-4) Install bundle: jbosgi-http-api:1.0.5
17:21:47,276 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: org.apache.felix.configadmin:1.2.8
17:21:47,406 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-3) Install bundle: osgi.enterprise:4.2.0.201003190513
17:21:47,633 INFO [org.jboss.osgi.framework.internal.StartLevelPlugin] (MSC service thread 1-1) Starting bundles for start level: 1
17:21:47,636 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: jbosgi-http-api:1.0.5
17:21:47,642 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: osgi.enterprise:4.2.0.201003190513
17:21:47,670 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: jboss-as-osgi-configadmin:7.1.1.Final
17:21:47,697 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: jboss-osgi-logging:1.0.0
17:21:47,729 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: org.apache.felix.log:1.0.0
17:21:47,731 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: javax.transaction.api:0.0.0
17:21:47,772 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: org.apache.felix.configadmin:1.2.8
17:21:47,780 INFO [org.jboss.osgi.framework.internal.FrameworkActive] (MSC service thread 1-1) OSGi Framework started
17:21:47,787 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: org.mobicents.protocols.asn:2.0.0.SNAPSHOT
17:21:47,797 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-4) Bundle started: org.mobicents.protocols.asn:2.0.0.SNAPSHOT
17:21:47,927 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "asn-2.0.0-20130624.000259-57.jar"
17:21:47,929 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015004: Caught exception writing deployment marker file /home/jboss/jboss-as-7.1.1.Final/standalone/deployments/mobicents-smsc-server/lib/asn-2.0.0-20130624.000259-57.jar.deployed: java.io.FileNotFoundException: /home/jboss/jboss-as-7.1.1.Final/standalone/deployments/mobicents-smsc-server/lib/asn-2.0.0-20130624.000259-57.jar.deployed (Permission denied)
at java.io.FileOutputStream.open(Native Method) [rt.jar:1.7.0_45]
at java.io.FileOutputStream.<init>(FileOutputStream.java:221) [rt.jar:1.7.0_45]
at java.io.FileOutputStream.<init>(FileOutputStream.java:171) [rt.jar:1.7.0_45]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.createMarkerFile(FileSystemDeploymentService.java:890) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.access$2600(FileSystemDeploymentService.java:88) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$ContentAddingTask.handleSuccessResult(FileSystemDeploymentService.java:1021) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:442) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentScanRunnable.run(FileSystemDeploymentService.java:149) [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_45]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [rt.jar:1.7.0_45]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_45]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA.jar:
2.0.0.GA]
^C17:21:49,646 INFO [org.jboss.as.logging] JBAS011503: Restored bootstrap log handlers
17:21:49,648 INFO [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: org.mobicents.protocols.asn:2.0.0.SNAPSHOT
17:21:49,659 INFO [com.arjuna.ats.jbossatx] ARJUNA032018: Destroying TransactionManagerService
17:21:49,668 INFO [com.arjuna.ats.jbossatx] ARJUNA032014: Stopping transaction recovery manager
17:21:49,674 INFO [org.jboss.as.connector.subsystems.datasources] JBAS010409: Unbound data source [java:jboss/datasources/ExampleDS]
17:21:49,683 INFO [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: jboss-as-osgi-configadmin:7.1.1.Final
17:21:49,690 INFO [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: org.apache.felix.log:1.0.0
17:21:49,689 INFO [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: osgi.enterprise:4.2.0.201003190513
17:21:49,688 INFO [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: jboss-osgi-logging:1.0.0
17:21:49,705 INFO [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: jbosgi-http-api:1.0.5
17:21:49,701 INFO [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: javax.transaction.api:0.0.0
17:21:49,710 INFO [org.jboss.osgi.framework.internal.HostBundleState] Bundle stopped: org.apache.felix.configadmin:1.2.8
17:21:49,680 ERROR [org.jboss.as.server.deployment] JBAS015892: Deployment unit processor org.jboss.as.jpa.processor.PersistenceProviderProcessor@554195 unexpectedly threw an exception during undeploy phase INSTALL of deployment "asn-2.0.0-20130624.000259-57.jar": java.lang.NullPointerException
at org.jboss.as.jpa.processor.PersistenceProviderProcessor.allDeploymentModuleClassLoaders(PersistenceProviderProcessor.java:138)
at org.jboss.as.jpa.processor.PersistenceProviderProcessor.undeploy(PersistenceProviderProcessor.java:122)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.safeUndeploy(DeploymentUnitPhaseService.java:167) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.stop(DeploymentUnitPhaseService.java:161) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1911) [jboss-msc-1.0.2.GA.jar:
1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1874) [jboss-msc-1.0.2.GA.jar:
1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Can anybody help me out. I am using jboss7.