rajjavaguy
asked on
Maven, Eclipse ------Weblogic error!!
I have a strange error. I can’t build....
Could someone tell me what is wrong? If you need pom.xml I got that one as well.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] app
[INFO] ups_common
[INFO] ups_server-ejb
[INFO] UpsServer
[INFO] payperuse
[INFO] internal
[INFO] sec-cgi
[INFO] ups-billing
[INFO] ups-compute
[INFO] ups-cnt
[INFO] ups-contract
[INFO] ups-loader
[INFO] ups-notification
[INFO] ups-pct
[INFO] ups-wfm
[INFO] urs_client
[INFO] client_distribution
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] Building app
[INFO] task-segment: [deploy]
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] [enforcer:display-info {execution: test1}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.5.0_13 normalized as: 1.5.0-13
[INFO] OS Info: Arch: x86 Family: windows Name: windows vista Version: 6.0
[INFO] [site:attach-descriptor {execution: default-attach-descriptor} ]
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\applications\workspace\ ups_main\p om.xml to C:\Users\raj\.m2\repositor y\com\hp\u cs\ups\app \1.0-SNAPS HOT\app-1. 0-SNAPSHOT .pom
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] skipping artifact deployement
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] Building ups_common
[INFO] task-segment: [deploy]
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] [enforcer:display-info {execution: test1}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.5.0_13 normalized as: 1.5.0-13
[INFO] OS Info: Arch: x86 Family: windows Name: windows vista Version: 6.0
[INFO] [resources:resources {execution: default-resources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 23 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: C:\applications\workspace\ ups_main\c ommon\targ et\ups_com mon-1.0.ja r
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\applications\workspace\ ups_main\c ommon\targ et\ups_com mon-1.0.ja r to C:\Users\raj\.m2\repositor y\com\hp\u cs\ups\ups _common\1. 0\ups_comm on-1.0.jar
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] skipping artifact deployement
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] Building ups_server-ejb
[INFO] task-segment: [deploy]
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] [enforcer:display-info {execution: test1}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.5.0_13 normalized as: 1.5.0-13
[INFO] OS Info: Arch: x86 Family: windows Name: windows vista Version: 6.0
[INFO] [resources:resources {execution: default-resources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 43 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 11 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [ejb:ejb {execution: default-ejb}]
[INFO] Building ejb ups-server-ejb-1.0 with ejbVersion 2.1
[INFO] Building jar: C:\applications\workspace\ ups_main\S erverEJB\t arget\ups- server-ejb -1.0.jar
[INFO] Building ejb client ups-server-ejb-1.0-client
[INFO] Building jar: C:\applications\workspace\ ups_main\S erverEJB\t arget\ups- server-ejb -1.0-clien t.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\applications\workspace\ ups_main\S erverEJB\t arget\ups- server-ejb -1.0.jar to C:\Users\raj\.m2\repositor y\com\hp\u cs\ups\ups -server-ej b\1.0\ups- server-ejb -1.0.jar
[INFO] Installing C:\applications\workspace\ ups_main\S erverEJB\t arget\ups- server-ejb -1.0-clien t.jar to C:\Users\raj\.m2\repositor y\com\hp\u cs\ups\ups -server-ej b\1.0\ups- server-ejb -1.0-clien t.jar
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] skipping artifact deployement
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] Building UpsServer
[INFO] task-segment: [deploy]
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] [enforcer:display-info {execution: test1}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.5.0_13 normalized as: 1.5.0-13
[INFO] OS Info: Arch: x86 Family: windows Name: windows vista Version: 6.0
[INFO] [ear:generate-application- xml {execution: default-generate-applicati on-xml}]
[INFO] Generating application.xml
[INFO] [resources:resources {execution: default-resources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\applications\workspace\ ups_main\S erverEAR\s rc
[INFO] [ear:ear {execution: default-ear}]
[INFO] Copying artifact[jar:com.hp.ucs.up s:ups-serv er-ejb:1.0 ] to[ups-server-ejb-1.0.jar]
[INFO] Copying artifact[jar:com.hp.ucs.up s:ups_comm on:1.0] to[ups_common-1.0.jar]
[INFO] Copy ear sources to C:\applications\workspace\ ups_main\S erverEAR\t arget\UpsS erver
[INFO] Could not find manifest file: C:\applications\workspace\ ups_main\S erverEAR\t arget\UpsS erver\META -INF\MANIF EST.MF - Generating one
[INFO] Building jar: C:\applications\workspace\ ups_main\S erverEAR\t arget\UpsS erver.ear
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\applications\workspace\ ups_main\S erverEAR\t arget\UpsS erver.ear to C:\Users\raj\.m2\repositor y\com\hp\u cs\ups\Ups Server\1.0 \UpsServer -1.0.ear
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] skipping artifact deployement
[INFO] [weblogic:deploy {execution: default}]
[INFO] Weblogic Deployment beginning with parameters DeployMojoBase[adminServer HostName = localhost, adminServerProtocol = t3, adminServerPort = 7001, userId = weblogic, password = weblogic, artifactPath = C:\applications\workspace\ ups_main\S erverEAR\t arget/UpsS erver, projectPackaging = ear, name = UpsServer, targetNames = AdminServer, remote = true]
[INFO] Weblogic Deployment parameters [-adminurl, t3://localhost:7001, -username, weblogic, -password, weblogic, -noexit, -name, UpsServer, -targets, AdminServer, -upload, -source, C:\applications\workspace\ ups_main\S erverEAR\t arget/UpsS erver.ear, -deploy]
weblogic.Deployer invoked with options: -adminurl t3://localhost:7001 -username weblogic -noexit -name UpsServer -targets AdminServer -upload -source C:\applications\workspace\ ups_main\S erverEAR\t arget/UpsS erver.ear -deploy
<Mar 4, 2011 12:17:44 PM PST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, UpsServer [archive: C:\applications\workspace\ ups_main\S erverEAR\t arget\UpsS erver.ear] , to AdminServer .>
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
BUILD ERROR
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] Exception encountered during artifact start: [Deployer:149007]New source location, 'C:\applications\workspace \ups_main\ ServerEAR\ app\UpsSer ver.ear', cannot be deployed to configured application, 'UpsServer'. The application source is at 'C:\applications\workspace \ups_main\ ServerEAR\ target\Ups Server.ear '. Changing the source location is not allowed for a previously attempted deployment. Try deploying without specifying the source.
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] For more information, run Maven with the -e switch
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] Total time: 46 seconds
[INFO] Finished at: Fri Mar 04 12:17:48 PST 2011
[INFO] Final Memory: 28M/66M
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
-pom-1-.xml
Could someone tell me what is wrong? If you need pom.xml I got that one as well.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] app
[INFO] ups_common
[INFO] ups_server-ejb
[INFO] UpsServer
[INFO] payperuse
[INFO] internal
[INFO] sec-cgi
[INFO] ups-billing
[INFO] ups-compute
[INFO] ups-cnt
[INFO] ups-contract
[INFO] ups-loader
[INFO] ups-notification
[INFO] ups-pct
[INFO] ups-wfm
[INFO] urs_client
[INFO] client_distribution
[INFO] --------------------------
[INFO] Building app
[INFO] task-segment: [deploy]
[INFO] --------------------------
[INFO] [enforcer:display-info {execution: test1}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.5.0_13 normalized as: 1.5.0-13
[INFO] OS Info: Arch: x86 Family: windows Name: windows vista Version: 6.0
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\applications\workspace\
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] skipping artifact deployement
[INFO] --------------------------
[INFO] Building ups_common
[INFO] task-segment: [deploy]
[INFO] --------------------------
[INFO] [enforcer:display-info {execution: test1}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.5.0_13 normalized as: 1.5.0-13
[INFO] OS Info: Arch: x86 Family: windows Name: windows vista Version: 6.0
[INFO] [resources:resources {execution: default-resources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 23 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: C:\applications\workspace\
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\applications\workspace\
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] skipping artifact deployement
[INFO] --------------------------
[INFO] Building ups_server-ejb
[INFO] task-segment: [deploy]
[INFO] --------------------------
[INFO] [enforcer:display-info {execution: test1}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.5.0_13 normalized as: 1.5.0-13
[INFO] OS Info: Arch: x86 Family: windows Name: windows vista Version: 6.0
[INFO] [resources:resources {execution: default-resources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 43 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 11 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [ejb:ejb {execution: default-ejb}]
[INFO] Building ejb ups-server-ejb-1.0 with ejbVersion 2.1
[INFO] Building jar: C:\applications\workspace\
[INFO] Building ejb client ups-server-ejb-1.0-client
[INFO] Building jar: C:\applications\workspace\
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\applications\workspace\
[INFO] Installing C:\applications\workspace\
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] skipping artifact deployement
[INFO] --------------------------
[INFO] Building UpsServer
[INFO] task-segment: [deploy]
[INFO] --------------------------
[INFO] [enforcer:display-info {execution: test1}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.5.0_13 normalized as: 1.5.0-13
[INFO] OS Info: Arch: x86 Family: windows Name: windows vista Version: 6.0
[INFO] [ear:generate-application-
[INFO] Generating application.xml
[INFO] [resources:resources {execution: default-resources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\applications\workspace\
[INFO] [ear:ear {execution: default-ear}]
[INFO] Copying artifact[jar:com.hp.ucs.up
[INFO] Copying artifact[jar:com.hp.ucs.up
[INFO] Copy ear sources to C:\applications\workspace\
[INFO] Could not find manifest file: C:\applications\workspace\
[INFO] Building jar: C:\applications\workspace\
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\applications\workspace\
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] skipping artifact deployement
[INFO] [weblogic:deploy {execution: default}]
[INFO] Weblogic Deployment beginning with parameters DeployMojoBase[adminServer
[INFO] Weblogic Deployment parameters [-adminurl, t3://localhost:7001, -username, weblogic, -password, weblogic, -noexit, -name, UpsServer, -targets, AdminServer, -upload, -source, C:\applications\workspace\
weblogic.Deployer invoked with options: -adminurl t3://localhost:7001 -username weblogic -noexit -name UpsServer -targets AdminServer -upload -source C:\applications\workspace\
<Mar 4, 2011 12:17:44 PM PST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, UpsServer [archive: C:\applications\workspace\
[INFO] --------------------------
BUILD ERROR
[INFO] --------------------------
[INFO] Exception encountered during artifact start: [Deployer:149007]New source location, 'C:\applications\workspace
[INFO] --------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] --------------------------
[INFO] Total time: 46 seconds
[INFO] Finished at: Fri Mar 04 12:17:48 PST 2011
[INFO] Final Memory: 28M/66M
[INFO] --------------------------
-pom-1-.xml
ASKER
Hi ECollin,
I already undeploy the previous virson and try for deployment...but getting the following error...
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] app
[INFO] ups_common
[INFO] ups_server-ejb
[INFO] UpsServer
[INFO] payperuse
[INFO] internal
[INFO] sec-cgi
[INFO] ups-billing
[INFO] ups-compute
[INFO] ups-cnt
[INFO] ups-contract
[INFO] ups-loader
[INFO] ups-notification
[INFO] ups-pct
[INFO] ups-wfm
[INFO] urs_client
[INFO] client_distribution
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] Building app
[INFO] task-segment: [deploy]
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] [enforcer:display-info {execution: test1}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.5.0_13 normalized as: 1.5.0-13
[INFO] OS Info: Arch: x86 Family: windows Name: windows vista Version: 6.0
[INFO] [site:attach-descriptor {execution: default-attach-descriptor} ]
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\applications\workspace\ ups_main\p om.xml to C:\Users\raj\.m2\repositor y\com\hp\u cs\ups\app \1.0-SNAPS HOT\app-1. 0-SNAPSHOT .pom
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] skipping artifact deployement
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] Building ups_common
[INFO] task-segment: [deploy]
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] [enforcer:display-info {execution: test1}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.5.0_13 normalized as: 1.5.0-13
[INFO] OS Info: Arch: x86 Family: windows Name: windows vista Version: 6.0
[INFO] [resources:resources {execution: default-resources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 148 source files to C:\applications\workspace\ ups_main\c ommon\targ et\classes
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 23 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 27 source files to C:\applications\workspace\ ups_main\c ommon\targ et\test-cl asses
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: C:\applications\workspace\ ups_main\c ommon\targ et\ups_com mon-1.0.ja r
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\applications\workspace\ ups_main\c ommon\targ et\ups_com mon-1.0.ja r to C:\Users\raj\.m2\repositor y\com\hp\u cs\ups\ups _common\1. 0\ups_comm on-1.0.jar
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] skipping artifact deployement
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] Building ups_server-ejb
[INFO] task-segment: [deploy]
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] [enforcer:display-info {execution: test1}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.5.0_13 normalized as: 1.5.0-13
[INFO] OS Info: Arch: x86 Family: windows Name: windows vista Version: 6.0
[INFO] [resources:resources {execution: default-resources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 43 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 413 source files to C:\applications\workspace\ ups_main\S erverEJB\t arget\clas ses
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 11 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 23 source files to C:\applications\workspace\ ups_main\S erverEJB\t arget\test -classes
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [ejb:ejb {execution: default-ejb}]
[INFO] Building ejb ups-server-ejb-1.0 with ejbVersion 2.1
[INFO] Building jar: C:\applications\workspace\ ups_main\S erverEJB\t arget\ups- server-ejb -1.0.jar
[INFO] Building ejb client ups-server-ejb-1.0-client
[INFO] Building jar: C:\applications\workspace\ ups_main\S erverEJB\t arget\ups- server-ejb -1.0-clien t.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\applications\workspace\ ups_main\S erverEJB\t arget\ups- server-ejb -1.0.jar to C:\Users\raj\.m2\repositor y\com\hp\u cs\ups\ups -server-ej b\1.0\ups- server-ejb -1.0.jar
[INFO] Installing C:\applications\workspace\ ups_main\S erverEJB\t arget\ups- server-ejb -1.0-clien t.jar to C:\Users\raj\.m2\repositor y\com\hp\u cs\ups\ups -server-ej b\1.0\ups- server-ejb -1.0-clien t.jar
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] skipping artifact deployement
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] Building UpsServer
[INFO] task-segment: [deploy]
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] [enforcer:display-info {execution: test1}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.5.0_13 normalized as: 1.5.0-13
[INFO] OS Info: Arch: x86 Family: windows Name: windows vista Version: 6.0
[INFO] [ear:generate-application- xml {execution: default-generate-applicati on-xml}]
[INFO] Generating application.xml
[INFO] [resources:resources {execution: default-resources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\applications\workspace\ ups_main\S erverEAR\s rc
[INFO] [ear:ear {execution: default-ear}]
[INFO] Copying artifact[jar:com.hp.ucs.up s:ups-serv er-ejb:1.0 ] to[ups-server-ejb-1.0.jar]
[INFO] Copying artifact[jar:com.hp.ucs.up s:ups_comm on:1.0] to[ups_common-1.0.jar]
[INFO] Copying artifact[jar:junit:junit:3 .8.1] to[junit-3.8.1.jar]
[INFO] Copying artifact[jar:org.dbunit:db unit:2.4.7 ] to[dbunit-2.4.7.jar]
[INFO] Copying artifact[jar:org.slf4j:slf 4j-api:1.5 .6] to[slf4j-api-1.5.6.jar]
[INFO] Copying artifact[jar:commons-colle ctions:com mons-colle ctions:3.2 .1] to[commons-collections-3.2 .1.jar]
[INFO] Copying artifact[jar:org.easymock: easymock:2 .4] to[easymock-2.4.jar]
[INFO] Copying artifact[jar:com.ucs.oracl e:classes1 2:8.1.7] to[classes12-8.1.7.jar]
[INFO] Copying artifact[jar:log4j:log4j:1 .2.14] to[log4j-1.2.14.jar]
[INFO] Copying artifact[jar:javax.activat ion:activa tion:1.1] to[activation-1.1.jar]
[INFO] Copying artifact[jar:javax.mail:ma il:1.4] to[mail-1.4.jar]
[INFO] Copying artifact[jar:com.ucs:json: 1.0] to[json-1.0.jar]
[INFO] Copying artifact[jar:com.ucs:ibati s:2.3.4.72 6] to[ibatis-2.3.4.726.jar]
[INFO] Copying artifact[jar:com.ucs:j2ssh -core:0.2. 9] to[j2ssh-core-0.2.9.jar]
[INFO] Copying artifact[jar:com.ucs:j2ssh -common:0. 2.9] to[j2ssh-common-0.2.9.jar]
[INFO] Copying artifact[jar:com.ucs:linea rgs:1.0] to[lineargs-1.0.jar]
[INFO] Copying artifact[jar:aopalliance:a opalliance :1.0] to[aopalliance-1.0.jar]
[INFO] Copying artifact[jar:org.aspectj:a spectjweav er:1.5.4] to[aspectjweaver-1.5.4.jar ]
[INFO] Copying artifact[jar:commons-codec :commons-c odec:1.3] to[commons-codec-1.3.jar]
[INFO] Copying artifact[jar:commons-dbcp: commons-db cp:1.2.2] to[commons-dbcp-1.2.2.jar]
[INFO] Copying artifact[jar:commons-pool: commons-po ol:1.4] to[commons-pool-1.4.jar]
[INFO] Copying artifact[jar:commons-el:co mmons-el:1 .0] to[commons-el-1.0.jar]
[INFO] Copying artifact[jar:commons-loggi ng:commons -logging:1 .1.1] to[commons-logging-1.1.1.j ar]
[INFO] Copying artifact[jar:org.apache.co mmons:comm ons-email: 1.1] to[commons-email-1.1.jar]
[INFO] Copying artifact[jar:commons-fileu pload:comm ons-fileup load:1.2.1 ] to[commons-fileupload-1.2. 1.jar]
[INFO] Copying artifact[jar:commons-io:co mmons-io:1 .1] to[commons-io-1.1.jar]
[INFO] Copying artifact[jar:commons-lang: commons-la ng:2.4] to[commons-lang-2.4.jar]
[INFO] Copying artifact[jar:asm:asm:1.5.3 ] to[asm-1.5.3.jar]
[INFO] Copying artifact[jar:asm:asm-attrs :1.5.3] to[asm-attrs-1.5.3.jar]
[INFO] Copying artifact[jar:com.ucs:wlcli ent:1.0] to[wlclient-1.0.jar]
[INFO] Copying artifact[jar:jaxen:jaxen:1 .1.1] to[jaxen-1.1.1.jar]
[INFO] Copying artifact[jar:dom4j:dom4j:1 .6.1] to[dom4j-1.6.1.jar]
[INFO] Copying artifact[jar:commons-confi guration:c ommons-con figuration :1.5] to[commons-configuration-1 .5.jar]
[INFO] Copying artifact[jar:commons-diges ter:common s-digester :1.8] to[commons-digester-1.8.ja r]
[INFO] Copying artifact[jar:commons-beanu tils:commo ns-beanuti ls:1.7.0] to[commons-beanutils-1.7.0 .jar]
[INFO] Copying artifact[jar:org.hibernate :hibernate :3.2.5.ga] to[hibernate-3.2.5.ga.jar]
[INFO] Copying artifact[jar:antlr:antlr:2 .7.6] to[antlr-2.7.6.jar]
[INFO] Copying artifact[jar:cglib:cglib:2 .1_3] to[cglib-2.1_3.jar]
[INFO] Copy ear sources to C:\applications\workspace\ ups_main\S erverEAR\t arget\UpsS erver
[INFO] Could not find manifest file: C:\applications\workspace\ ups_main\S erverEAR\t arget\UpsS erver\META -INF\MANIF EST.MF - Generating one
[INFO] Building jar: C:\applications\workspace\ ups_main\S erverEAR\t arget\UpsS erver.ear
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\applications\workspace\ ups_main\S erverEAR\t arget\UpsS erver.ear to C:\Users\raj\.m2\repositor y\com\hp\u cs\ups\Ups Server\1.0 \UpsServer -1.0.ear
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] skipping artifact deployement
[INFO] [weblogic:deploy {execution: default}]
[INFO] Weblogic Deployment beginning with parameters DeployMojoBase[adminServer HostName = localhost, adminServerProtocol = t3, adminServerPort = 7001, userId = weblogic, password = weblogic, artifactPath = C:\applications\workspace\ ups_main\S erverEAR\t arget/UpsS erver, projectPackaging = ear, name = UpsServer, targetNames = AdminServer, remote = true]
[INFO] Weblogic Deployment parameters [-adminurl, t3://localhost:7001, -username, weblogic, -password, weblogic, -noexit, -name, UpsServer, -targets, AdminServer, -upload, -source, C:\applications\workspace\ ups_main\S erverEAR\t arget/UpsS erver.ear, -deploy]
weblogic.Deployer invoked with options: -adminurl t3://localhost:7001 -username weblogic -noexit -name UpsServer -targets AdminServer -upload -source C:\applications\workspace\ ups_main\S erverEAR\t arget/UpsS erver.ear -deploy
<Mar 7, 2011 9:30:03 AM PST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, UpsServer [archive: C:\applications\workspace\ ups_main\S erverEAR\t arget\UpsS erver.ear] , to AdminServer .>
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
BUILD ERROR
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] Exception encountered during artifact start: [Deployer:149007]New source location, 'C:\applications\workspace \ups_main\ ServerEAR\ app\UpsSer ver.ear', cannot be deployed to configured application, 'UpsServer'. The application source is at 'C:\applications\workspace \ups_main\ ServerEAR\ target\Ups Server.ear '. Changing the source location is not allowed for a previously attempted deployment. Try deploying without specifying the source.
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] For more information, run Maven with the -e switch
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
[INFO] Total time: 42 seconds
[INFO] Finished at: Mon Mar 07 09:30:06 PST 2011
[INFO] Final Memory: 32M/75M
[INFO] -------------------------- ---------- ---------- ---------- ---------- ------
I already undeploy the previous virson and try for deployment...but getting the following error...
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] app
[INFO] ups_common
[INFO] ups_server-ejb
[INFO] UpsServer
[INFO] payperuse
[INFO] internal
[INFO] sec-cgi
[INFO] ups-billing
[INFO] ups-compute
[INFO] ups-cnt
[INFO] ups-contract
[INFO] ups-loader
[INFO] ups-notification
[INFO] ups-pct
[INFO] ups-wfm
[INFO] urs_client
[INFO] client_distribution
[INFO] --------------------------
[INFO] Building app
[INFO] task-segment: [deploy]
[INFO] --------------------------
[INFO] [enforcer:display-info {execution: test1}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.5.0_13 normalized as: 1.5.0-13
[INFO] OS Info: Arch: x86 Family: windows Name: windows vista Version: 6.0
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\applications\workspace\
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] skipping artifact deployement
[INFO] --------------------------
[INFO] Building ups_common
[INFO] task-segment: [deploy]
[INFO] --------------------------
[INFO] [enforcer:display-info {execution: test1}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.5.0_13 normalized as: 1.5.0-13
[INFO] OS Info: Arch: x86 Family: windows Name: windows vista Version: 6.0
[INFO] [resources:resources {execution: default-resources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 148 source files to C:\applications\workspace\
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 23 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 27 source files to C:\applications\workspace\
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: C:\applications\workspace\
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\applications\workspace\
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] skipping artifact deployement
[INFO] --------------------------
[INFO] Building ups_server-ejb
[INFO] task-segment: [deploy]
[INFO] --------------------------
[INFO] [enforcer:display-info {execution: test1}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.5.0_13 normalized as: 1.5.0-13
[INFO] OS Info: Arch: x86 Family: windows Name: windows vista Version: 6.0
[INFO] [resources:resources {execution: default-resources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 43 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 413 source files to C:\applications\workspace\
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 11 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 23 source files to C:\applications\workspace\
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [ejb:ejb {execution: default-ejb}]
[INFO] Building ejb ups-server-ejb-1.0 with ejbVersion 2.1
[INFO] Building jar: C:\applications\workspace\
[INFO] Building ejb client ups-server-ejb-1.0-client
[INFO] Building jar: C:\applications\workspace\
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\applications\workspace\
[INFO] Installing C:\applications\workspace\
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] skipping artifact deployement
[INFO] --------------------------
[INFO] Building UpsServer
[INFO] task-segment: [deploy]
[INFO] --------------------------
[INFO] [enforcer:display-info {execution: test1}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.5.0_13 normalized as: 1.5.0-13
[INFO] OS Info: Arch: x86 Family: windows Name: windows vista Version: 6.0
[INFO] [ear:generate-application-
[INFO] Generating application.xml
[INFO] [resources:resources {execution: default-resources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\applications\workspace\
[INFO] [ear:ear {execution: default-ear}]
[INFO] Copying artifact[jar:com.hp.ucs.up
[INFO] Copying artifact[jar:com.hp.ucs.up
[INFO] Copying artifact[jar:junit:junit:3
[INFO] Copying artifact[jar:org.dbunit:db
[INFO] Copying artifact[jar:org.slf4j:slf
[INFO] Copying artifact[jar:commons-colle
[INFO] Copying artifact[jar:org.easymock:
[INFO] Copying artifact[jar:com.ucs.oracl
[INFO] Copying artifact[jar:log4j:log4j:1
[INFO] Copying artifact[jar:javax.activat
[INFO] Copying artifact[jar:javax.mail:ma
[INFO] Copying artifact[jar:com.ucs:json:
[INFO] Copying artifact[jar:com.ucs:ibati
[INFO] Copying artifact[jar:com.ucs:j2ssh
[INFO] Copying artifact[jar:com.ucs:j2ssh
[INFO] Copying artifact[jar:com.ucs:linea
[INFO] Copying artifact[jar:aopalliance:a
[INFO] Copying artifact[jar:org.aspectj:a
[INFO] Copying artifact[jar:commons-codec
[INFO] Copying artifact[jar:commons-dbcp:
[INFO] Copying artifact[jar:commons-pool:
[INFO] Copying artifact[jar:commons-el:co
[INFO] Copying artifact[jar:commons-loggi
[INFO] Copying artifact[jar:org.apache.co
[INFO] Copying artifact[jar:commons-fileu
[INFO] Copying artifact[jar:commons-io:co
[INFO] Copying artifact[jar:commons-lang:
[INFO] Copying artifact[jar:asm:asm:1.5.3
[INFO] Copying artifact[jar:asm:asm-attrs
[INFO] Copying artifact[jar:com.ucs:wlcli
[INFO] Copying artifact[jar:jaxen:jaxen:1
[INFO] Copying artifact[jar:dom4j:dom4j:1
[INFO] Copying artifact[jar:commons-confi
[INFO] Copying artifact[jar:commons-diges
[INFO] Copying artifact[jar:commons-beanu
[INFO] Copying artifact[jar:org.hibernate
[INFO] Copying artifact[jar:antlr:antlr:2
[INFO] Copying artifact[jar:cglib:cglib:2
[INFO] Copy ear sources to C:\applications\workspace\
[INFO] Could not find manifest file: C:\applications\workspace\
[INFO] Building jar: C:\applications\workspace\
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\applications\workspace\
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] skipping artifact deployement
[INFO] [weblogic:deploy {execution: default}]
[INFO] Weblogic Deployment beginning with parameters DeployMojoBase[adminServer
[INFO] Weblogic Deployment parameters [-adminurl, t3://localhost:7001, -username, weblogic, -password, weblogic, -noexit, -name, UpsServer, -targets, AdminServer, -upload, -source, C:\applications\workspace\
weblogic.Deployer invoked with options: -adminurl t3://localhost:7001 -username weblogic -noexit -name UpsServer -targets AdminServer -upload -source C:\applications\workspace\
<Mar 7, 2011 9:30:03 AM PST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, UpsServer [archive: C:\applications\workspace\
[INFO] --------------------------
BUILD ERROR
[INFO] --------------------------
[INFO] Exception encountered during artifact start: [Deployer:149007]New source location, 'C:\applications\workspace
[INFO] --------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] --------------------------
[INFO] Total time: 42 seconds
[INFO] Finished at: Mon Mar 07 09:30:06 PST 2011
[INFO] Final Memory: 32M/75M
[INFO] --------------------------
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
the application you are trying to deploy is already deploy but from a different source path (location on your file system)
First, undeploy the previous version and retry your deployment
Emmanuel