Fail to deploy items in ordered test
Hi all,
We are trying to use .orderedtest to test a sequence of behavior. For testing the behavior, we need deploy some external resources or test files to the unit test output folder, so that I created a Local.testsettings to add the deployment items.
When I run the ordered test, I found that the deployment items were not copied to the output folder of the test. I am sure that I set the testsettings for the unit testing. After checking the output of the tests. I got the following warrning:
Warning: Test Run deployment issue: Failed to get the file for deployment item 'Config\' specified by the test settings: System.UnauthorizedAccessException: Access to the path “C:\Windows\System32\Config\systemprofile\AppData\Local\Microsoft\Windows\INetCache\Content.IE5”
is denied.
I am sure that my application is not a web application, but why it need access the Web relative folder.
Does anybody have some idea about this problem? Or, how can I solve this issue?
Thanks
Hi Edward Zhu (IvyBridge),
So you mean that you add some unit tests in your ordered test, am I right?
If you run your unit test singly with the deployment items, how about the result?
How did you add the deployment item?
>>When I run the ordered test, I found that the deployment items were not copied to the output folder of the test.
If you want to get the items in output folder, you would use the deployment attribute, not have to use the .settings file, and then set the property for the item "Copy to the output directory=copy if newer" like this thread here:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/c15a87b8-a543-4dfc-8bf6-f8768fcf54a0/data-source-error-when-running-tests-via-remote-execution?forum=vstest
Of course, you could custom the output path for deployment items in the .test settings file, see "When should I use a *.testsettings file?" in this MSDN document here:
https://msdn.microsoft.com/en-us/library/ms182475.aspx?f=255&MSPPError=-2147217396
Of course, we have to make sure that whether it is related to the Ordered test or the specific test in ordered test or the deployment settings.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
Error while trying to deploy the fusion order aplication
i've succeded tu install the schemas, to deploy the store front module , and when i try to deploy the aplication i encounter one error :(
this is my "build.properties" edited file:
# Global build property set for SOA fusion order demo #
# > author: clemens utschig (oracle corp) 2009 #
# path for libraries and script imports
oracle.home=D:\\Middleware\\JDEV\\jdeveloper\\
################ INTERNAL SEED PROPERTIES - BEGIN ##################
# !!!!! DO NOT MODIFY !!!!! #
# internal version number
fod.version=2.3_ps3
# common libs home
oracle.common.home=${oracle.home}/../oracle_common
# Sub directory for deployment artifacts
deploy.sub.dir=deploy
# sub directory for deployment / build scripts
bin.sub.dir=bin
# jee application homes
creditauthorization.home=../CreditCardAuthorization
orderapproval.home=../OrderApprovalHumanTask
external.partnersupplier.home=../ExternalLegacyPartnerSupplierEjb
# composite homes
orderbookingsdo.composite.home=../OrderSDOComposite
partnersupplier.composite.home=../PartnerSupplierComposite
orderbooking.composite.home=../OrderBookingComposite
b2b.composite.home=../B2BX12OrderGateway
# adf service implementation context url
storefrontservice.contextUri.adf=StoreFrontServiceHooks/StoreFrontService
# sca composite based context url
storefrontservice.contextUri.soa=soa-infra/services/${soa.partition.name}/OrderSDOComposite!1.0/StoreFrontService
# ejb uri for the ExternalPartnerSupplierEJB
partnersupplier.ejb.uri=WebLogicFusionOrderDemo-ExternalLegacyPartnerSupplierEjb-SessionEJB#com.otn.sample.fod.soa.externalps.IExternalPartnerSupplierService
# ejb uri for the ExternalPartnerSupplierEJB JSca implementation via Spring C&I
partnersupplier.jsca.ejb.uri=WebLogicFusionOrderDemo-ExternalLegacyPartnerSupplierJScaEjb
## global connection settings for deployer, rmi and others
# admin server t3:// url - for deployment
wls.url=t3://${admin.server.host}:${admin.server.port}
# mgd server t3:// url - for ejb
wls.mgd.server.url=t3://${managed.server.host}:${managed.server.rmi.port}
# the jndi ctx factory
java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
################## INTERNAL SEED PROPERTIES - END ####################
# partition where the composites should be deployed to
soa.partition.name=soaFusionOrderDemo
# set to false if you want to use adf backed services.
soa.only.deployment=true
# deploy the b2b x12 order processing composite
enable.b2b.composite=true
# use a normal ejb3 for the external partner supplier (comment or set to false),
# or use the new Weblogic SCA for Java EJB binding (uncomment and set to true)
use.jsca.ejb.impl=true
# file adapter directory - amend to your OS (use \\ for windows and / for unix)
orderbooking.file.adapter.dir=/tmp
# file adapter control directory - amend to your OS (use \\ for windows and / for unix)
orderbooking.file.adapter.control.dir=/tmp/control
# jndi name of the jms topic for orderbooking composite
orderbooking.jms.topic.jndi=jms/DemoSupplierTopicUdd
###### Deployment server connection information
# the admin server connection information - to seed the topics
admin.server.host=RZV-PC
admin.server.port=7001
# the domain where soa infra is installed
server.domain.name=soa_domain
# connection information for the managed server, used for soa-deployment, http
managed.server.host=RZV-PC
managed.server.port=8001
# rmi port for testing, ejb invocation and others
managed.server.rmi.port=8001
# credential information for the servers
server.user=weblogic
server.password=weblogic@
# wls target server (for shiphome set to server_soa, for ADRS use AdminServer)
server.targets=soa_server1
# soa-server side oracle home directory - needed for deployment plans
# and the weblogic sca library deployment (out of the ExternalPartnerSupplier project
soa.server.oracle.home=D:\\AS11gR1SOA
####### for business event testing - this is to enqueue the business event
# soa db main schema username
soa.db.username=sys as sysdba
# soa db password
soa.db.password=razvan
# soa db connect string => host:port:sid
soa.db.connectstring=RZV-PC:1521:xe
##### MetaDataServices repository settings (used for SOA shared artifacts) #####
# use "jdev" for local jdeveloper install, "db" for database
# In case of "db" amend the below (jdbc) settings for the mds db
foreign.mds.type=db
# Note: BEFORE you deploy make sure you amend these settings to your REMOTE
# db - that is backing soa-infra, set the above mds.type to "db" and run
# the "importCommonServiceArtifactsIntoMds" target. This will import the common
# shared artifacts of $OH/bin/soa-seed/ into the remote (RT) mds.
# On a shiphome install this user is normally named sh_mds
mds.db.userid=sys as sysdba
mds.db.password=razvan
# database connection string: driver@host:port:sid
mds.db.jdbc-url=jdbc:oracle:thin:@RZV-PC:1521:xe
and this is the error i get :
Buildfile: C:\fod\CompositeServices\bin\build.xml
[echo] Ant: Apache Ant version 1.7.1 compiled on June 27 2008 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
init:
[echo] SOA Suite 11g version:
[java]
[java] *****************************************************************************
[java] Oracle SOA Server version 11.1.1.5.0
[java] Build: 0
[java] Build time: Mon Apr 18 18:05:14 PDT 2011
[java] Build type: release
[java] Source tag: PCBPEL_11.1.1.5.0_GENERIC_110418.1550.0174
[java]
[echo] soa infra mgmt home: D:\Middleware\JDEV\jdeveloper\
setupWorkspaceForJdeveloperUse:
[echo] !!! Setting up workspace for JDeveloper use, hence seeding adf-config, connections.xml and populating mds
[echo] Ant: Apache Ant version 1.7.1 compiled on June 27 2008 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
init:
[echo] SOA Suite 11g version:
[java]
[java] *****************************************************************************
[java] Oracle SOA Server version 11.1.1.5.0
[java] Build: 0
[java] Build time: Mon Apr 18 18:05:14 PDT 2011
[java] Build type: release
[java] Source tag: PCBPEL_11.1.1.5.0_GENERIC_110418.1550.0174
[java]
[echo] soa infra mgmt home: D:\Middleware\JDEV\jdeveloper\
createMDSConnections:
[echo] Ant: Apache Ant version 1.7.1 compiled on June 27 2008 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
createMDSConnectionForDB:
[echo] Creating ../.adf/META-INF/adf-config.xml for database backed MDS
[input] skipping input as property mds.db.password has already been set.
[copy] Copying 1 file to C:\fod\CompositeServices\.adf\META-INF
[echo] Using jdbc:oracle:thin:@RZV-PC:1521:xe for db-based backing, with user sys as sysdba
[echo] Ant: Apache Ant version 1.7.1 compiled on June 27 2008 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
createMDSConnectionForFileStore:
[echo] Ant: Apache Ant version 1.7.1 compiled on June 27 2008 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
createMDSConnectionForServerFileStore:
importCommonServiceArtifactsIntoMds:
[java] Starting local filesystem import into mds ..
[java] oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document
[java] MDS-01329: unable to load element "persistence-config"
[java] MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_1" is invalid.
[java] ORA-06550: line 1, column 12:
[java] PLS-00201: identifier 'MDS_INTERNAL_SHREDDED.GETREPOSITORYVERSION' must be declared
[java] ORA-06550: line 1, column 7:
[java] PL/SQL: Statement ignored
[java]
[java]
[java] at oracle.mds.config.PConfig.loadFromBean(PConfig.java:690)
[java] at oracle.mds.config.PConfig.<init>(PConfig.java:499)
[java] at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:707)
[java] at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:764)
[java] at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:515)
[java] at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:443)
[java] at com.otn.sample.fod.soa.util.MdsImportTask.getTargetMdsInstanceByAdfConfig(MdsImportTask.java:133)
[java] at com.otn.sample.fod.soa.util.MdsImportTask.execute(MdsImportTask.java:155)
[java] at com.otn.sample.fod.soa.util.MdsImportTask.main(MdsImportTask.java:84)
[java] Caused by: oracle.mds.exception.MDSExceptionList: MDS-01329: unable to load element "persistence-config"
[java] MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_1" is invalid.
[java] ORA-06550: line 1, column 12:
[java] PLS-00201: identifier 'MDS_INTERNAL_SHREDDED.GETREPOSITORYVERSION' must be declared
[java] ORA-06550: line 1, column 7:
[java] PL/SQL: Statement ignored
[java]
[java]
[java] at oracle.mds.config.PConfig.loadFromBean(PConfig.java:684)
[java] ... 8 more
[java] Exception in thread "main" MDS-01330: unable to load MDS configuration document
[java] MDS-01329: unable to load element "persistence-config"
[java] MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_1" is invalid.
[java] ORA-06550: line 1, column 12:
[java] PLS-00201: identifier 'MDS_INTERNAL_SHREDDED.GETREPOSITORYVERSION' must be declared
[java] ORA-06550: line 1, column 7:
[java] PL/SQL: Statement ignored
[java]
[java]
[java] at com.otn.sample.fod.soa.util.MdsImportTask.execute(MdsImportTask.java:225)
[java] at com.otn.sample.fod.soa.util.MdsImportTask.main(MdsImportTask.java:84)
BUILD FAILED
C:\fod\CompositeServices\bin\build.xml:276: The following error occurred while executing this line:
C:\fod\CompositeServices\bin\common-sca-tools.xml:414: Java returned: 1
Total time: 4 seconds
please help, i need this aplication for my final year project .
Thanxthis is the complete log:
Buildfile: C:\fod\CompositeServices\bin\build.xml
[echo] Ant: Apache Ant version 1.7.1 compiled on June 27 2008 Java: 1.6
[echo] Using mds-type : db
[input] skipping input as property server.password has already been set.
init:
[echo] SOA Suite 11g version:
[java]
[java] *****************************************************************************
[java] Oracle SOA Server version 11.1.1.5.0
[java] Build: 0
[java] Build time: Mon Apr 18 18:05:14 PDT 2011
[java] Build type: release
[java] Source tag: PCBPEL_11.1.1.5.0_GENERIC_110418.1550.0174
[java]
[echo] soa infra mgmt home: D:\Middleware\JDEV\jdeveloper\
compile-build-all:
[echo] Building and compiling SOA Fusion Order Demo ..
clean:
[echo] Cleanup of OrderApprovalHumanTask
[delete] Deleting: C:\fod\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.war
[delete] Deleting: C:\fod\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.ear
init:
compile:
[javac] Compiling 6 source files to C:\fod\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\classes
copy:
[copy] Copying 191 files to C:\fod\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\classes
create-ear:
[copy] Copying 4 files to C:\fod\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\lib
[war] Building war: C:\fod\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.war
[delete] Deleting directory C:\fod\CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\lib
setupDeploymentEnvironment:
[echo] Step1: copy template ./templates/connections.xml.seed to ../../.adf/META-INF/connections.xml
[copy] Copying 1 file to C:\fod\CompositeServices\.adf\META-INF
[echo] Step2: setup descriptor, soa-only? true, modifying ../../.adf/META-INF/connections.xml
[echo] replacing ws-endpoint with RZV-PC:8001/soa-infra/services/soaFusionOrderDemo/OrderSDOComposite!1.0/StoreFrontService
[echo] replacing ws-binding with {www.globalcompany.example.com}StoreFrontServiceBinding
[mkdir] Created dir: C:\fod\CompositeServices\OrderApprovalHumanTask\deploy\adf\META-INF
[copy] Copying 2 files to C:\fod\CompositeServices\OrderApprovalHumanTask\deploy\adf\META-INF
[echo] Creating custom adf config for customization of connections.xml - datasource: jdbc/mds/MDS_LocalTxDataSource
[mkdir] Created dir: C:\fod\CompositeServices\OrderApprovalHumanTask\deploy\lib
[copy] Copying 1 file to C:\fod\CompositeServices\OrderApprovalHumanTask\deploy\lib
[ear] Building ear: C:\fod\CompositeServices\OrderApprovalHumanTask\deploy\OrderApprovalHumanTask.ear
[delete] Deleting directory C:\fod\CompositeServices\OrderApprovalHumanTask\deploy\adf
[delete] Deleting directory C:\fod\CompositeServices\OrderApprovalHumanTask\deploy\lib
create-deployable-composite:
[echo] oracle.home = D:\Middleware\JDEV\jdeveloper\
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
clean:
[echo] deleting C:\fod\CompositeServices\OrderBookingComposite\bin/..//deploy/sca_OrderBookingComposite_rev1.0.jar
[delete] Deleting: C:\fod\CompositeServices\OrderBookingComposite\deploy\sca_OrderBookingComposite_rev1.0.jar
init:
scac-validate:
[echo] Running scac-validate in C:\fod\CompositeServices\OrderBookingComposite\bin/..//composite.xml
[echo] oracle.home = D:\Middleware\JDEV\jdeveloper\
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
scac:
[scac] Validating composite "C:\fod\CompositeServices\OrderBookingComposite\bin/..//composite.xml"
[scac] Composed "OrderProcessor" in 107.0 milliseconds [nodes 138=10+128, 1,290.0 nodes/sec]
[scac] Compiled "OrderProcessor" in 2.057 seconds
[scac] Gathered 14 files in 1.3 milliseconds
[scac] Packaged "OrderProcessor" in 24.5 milliseconds
[scac] Composed "InternalWarehouseService" in 8.0 milliseconds [nodes 6=0+6, 752.6 nodes/sec]
[scac] Compiled "InternalWarehouseService" in 1.006 seconds
[scac] Gathered 3 files in 0.8 milliseconds
[scac] Packaged "InternalWarehouseService" in 6.0 milliseconds
[scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[scac] >> modified xmlbean locale class in use
[scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[scac] warning: location {ns:composite/ns:reference[@name='CreditCardAuthorizationService']}(170,128): Failed to Find Binding "CreditCardAuthorizationService":"{http://www.globalcompany.example.com/ns/CreditAuthorizationService}CreditAuthorizationPort" in WSDL Manager
[scac] warning: location {ns:composite/ns:reference[@name='PartnerSupplierService']}(163,122): Failed to Find Binding "PartnerSupplierService":"{http://www.partnersupplier.example.com/ns/warehouse}ExternalPartnerSupplier_pt" in WSDL Manager
[scac] warning: location {ns:composite/ns:reference[@name='StoreFrontService']}(180,162): Failed to Find Binding "StoreFrontService":"{www.globalcompany.example.com}StoreFrontServiceSoapHttpPort" in WSDL Manager
[scac] warning: in OrderProcessor.bpel(223): <from> value type "{http://www.w3.org/2001/XMLSchema}long" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] warning: in OrderProcessor.bpel(310): <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] warning: in OrderProcessor.bpel(310): <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] warning: in OrderProcessor.bpel(390): <from> value type "{http://www.w3.org/2001/XMLSchema}decimal" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}double"
[scac] warning: in OrderProcessor.bpel(390): <from> value type "{http://www.w3.org/2001/XMLSchema}string" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}boolean"
[scac] warning: in OrderProcessor.bpel(429): <from> value type "{http://www.w3.org/2001/XMLSchema}boolean" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
[scac] warning: in OrderProcessor.bpel(571): <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
package:
[echo] oracle.home = D:\Middleware\JDEV\jdeveloper\
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
compile-source:
[mkdir] Created dir: C:\fod\CompositeServices\OrderBookingComposite\dist
[copy] Copying 139 files to C:\fod\CompositeServices\OrderBookingComposite\dist
[copy] Warning: C:\fod\CompositeServices\OrderBookingComposite\src not found.
[copy] Warning: C:\fod\CompositeServices\OrderBookingComposite\SCA-INF\src not found.
[copy] Copying 6 files to C:\fod\CompositeServices\OrderBookingComposite\dist\SCA-INF\classes
[jar] Building jar: C:\fod\CompositeServices\OrderBookingComposite\deploy\sca_OrderBookingComposite_rev1.0.jar
[delete] Deleting directory C:\fod\CompositeServices\OrderBookingComposite\dist
setupDeploymentEnvironment:
[copy] Copying 1 file to C:\fod\CompositeServices\OrderBookingComposite\bin
[echo] Setting up deployment plan, modifying orderbooking_deployment_plan.xml
[echo] Replacing ws-endpoint with RZV-PC:8001/soa-infra/services/soaFusionOrderDemo/OrderSDOComposite!1.0/StoreFrontService
[echo] Replacing soa server and wls server information
[echo] -SOA: RZV-PC 8001
[echo] Replacing file adapter endpoint with /tmp
[echo] Disabling global bam sensors? true
[echo] Amending jndi destination for jms topic jms/DemoSupplierTopicUdd
[echo] Replacing soa partition name with soaFusionOrderDemo
[echo] Replacing values for bam connection in connections.xml
[echo] Bam server host: localhost
[echo] Bam server host: 9001
[echo] Bam server user: weblogic
[echo] Spring lib path: D:\Middleware\JDEV\jdeveloper\/../oracle_common/modules/org.springframework_2.5.jar
compile-classes:
create-deployable-composite:
[echo] oracle.home = D:\Middleware\JDEV\jdeveloper\
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
clean:
[echo] deleting C:\fod\CompositeServices\PartnerSupplierComposite\bin/..//deploy/sca_PartnerSupplierComposite_rev1.0.jar
[delete] Deleting: C:\fod\CompositeServices\PartnerSupplierComposite\deploy\sca_PartnerSupplierComposite_rev1.0.jar
init:
scac-validate:
[echo] Running scac-validate in C:\fod\CompositeServices\PartnerSupplierComposite\bin/..//composite.xml
[echo] oracle.home = D:\Middleware\JDEV\jdeveloper\
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
scac:
[scac] Validating composite "C:\fod\CompositeServices\PartnerSupplierComposite\bin/..//composite.xml"
[scac] Composed "ExternalPartnerSupplier" in 41.0 milliseconds [nodes 6=0+6, 146.4 nodes/sec]
[scac] Compiled "ExternalPartnerSupplier" in 1.584 seconds
[scac] Gathered 3 files in 0.8 milliseconds
[scac] Packaged "ExternalPartnerSupplier" in 8.8 milliseconds
[scac] ### clazz: interface com.otn.sample.fod.soa.internalsupplier.IInternalPartnerSupplier
[scac] ### clazz: interface writequoterequest.partnersuppliercomposite.weblogicfusionorderdemo.file.adapter.pcbpel.com.oracle.xmlns.Write_ptt
[scac] ### qname: {http://xmlns.oracle.com/pcbpel/adapter/file/WebLogicFusionOrderDemo/PartnerSupplierComposite/WriteQuoteRequest}Write_ptt
[scac] ### clazz: interface com.otn.sample.fod.soa.externalps.IExternalPartnerSupplierService
[scac] ### clazz: interface com.otn.sample.fod.soa.externalps.IExternalPartnerSupplierService
[scac] ### clazz: interface com.otn.sample.fod.soa.internalsupplier.IInternalPartnerSupplier
[scac] ### clazz: interface com.otn.sample.fod.soa.internalsupplier.IInternalPartnerSupplier
[scac] ### clazz: interface com.otn.sample.fod.soa.internalsupplier.IInternalPartnerSupplier
[scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[scac] >> modified xmlbean locale class in use
[scac] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[scac] warning: in PartnerSupplierMediator.mplan: Case "ExternalPartnerSupplier.externalpartnersupplier_client.process" doesnt have any payload transformation Please make sure source and target message part name are same and of same type. Otherwise, target reference may fail to execute with error message like "Input sourcelike Null" or "Part not found"
package:
[echo] oracle.home = D:\Middleware\JDEV\jdeveloper\
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
compile-source:
[echo] deleting .class files of C:\fod\CompositeServices\PartnerSupplierComposite\bin/..//SCA-INF/classes
[javac] Compiling 18 source files to C:\fod\CompositeServices\PartnerSupplierComposite\SCA-INF\classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[mkdir] Created dir: C:\fod\CompositeServices\PartnerSupplierComposite\dist
[copy] Copying 66 files to C:\fod\CompositeServices\PartnerSupplierComposite\dist
[copy] Warning: C:\fod\CompositeServices\PartnerSupplierComposite\SCA-INF\src not found.
[copy] Copying 7 files to C:\fod\CompositeServices\PartnerSupplierComposite\dist\SCA-INF\classes
[jar] Building jar: C:\fod\CompositeServices\PartnerSupplierComposite\deploy\sca_PartnerSupplierComposite_rev1.0.jar
[delete] Deleting directory C:\fod\CompositeServices\PartnerSupplierComposite\dist
[echo] Spring lib path: D:\Middleware\JDEV\jdeveloper\/../oracle_common/modules/org.springframework_2.5.jar
setupDeploymentEnvironment:
[copy] Copying 1 file to C:\fod\CompositeServices\PartnerSupplierComposite\bin
[echo] Setting up deployment plan, modifying PartnerSupplierComposite_cfgplan.xml
[echo] Replacing ejb-name with WebLogicFusionOrderDemo-ExternalLegacyPartnerSupplierJScaEjb
[echo] Replacing file adapter endpoint with /tmp/quote
create-deployable-composite:
[echo] oracle.home = D:\Middleware\JDEV\jdeveloper\
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
clean:
[echo] deleting C:\fod\CompositeServices\OrderSDOComposite\bin/..//deploy/sca_OrderSDOComposite_rev1.0.jar
[delete] Deleting: C:\fod\CompositeServices\OrderSDOComposite\deploy\sca_OrderSDOComposite_rev1.0.jar
init:
scac-validate:
[echo] Running scac-validate in C:\fod\CompositeServices\OrderSDOComposite\bin/..//composite.xml
[echo] oracle.home = D:\Middleware\JDEV\jdeveloper\
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
scac:
[scac] Validating composite "C:\fod\CompositeServices\OrderSDOComposite\bin/..//composite.xml"
[scac] Composed "CustomerAndOrderService" in 140.2 milliseconds [nodes 63=1+62, 449.2 nodes/sec]
[scac] Compiled "CustomerAndOrderService" in 1.814 seconds
[scac] Gathered 5 files in 0.9 milliseconds
[scac] Packaged "CustomerAndOrderService" in 11.9 milliseconds
[scac] warning: in CustomerAndOrderService.bpel(254): <from> value type "{http://www.w3.org/2001/XMLSchema}anySimpleType" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}integer"
[scac] warning: in CustomerAndOrderService.bpel(359): <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}long"
[scac] warning: in CustomerAndOrderService.bpel(493): <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}long"
package:
[echo] oracle.home = D:\Middleware\JDEV\jdeveloper\
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
compile-source:
[mkdir] Created dir: C:\fod\CompositeServices\OrderSDOComposite\dist
[copy] Copying 12 files to C:\fod\CompositeServices\OrderSDOComposite\dist
[copy] Warning: C:\fod\CompositeServices\OrderSDOComposite\src not found.
[copy] Warning: C:\fod\CompositeServices\OrderSDOComposite\SCA-INF\src not found.
[copy] Copying 6 files to C:\fod\CompositeServices\OrderSDOComposite\dist\SCA-INF\classes
[jar] Building jar: C:\fod\CompositeServices\OrderSDOComposite\deploy\sca_OrderSDOComposite_rev1.0.jar
[delete] Deleting directory C:\fod\CompositeServices\OrderSDOComposite\dist
create-deployable-composite:
[echo] oracle.home = D:\Middleware\JDEV\jdeveloper\
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
clean:
[echo] deleting C:\fod\CompositeServices\B2BX12OrderGateway\bin/..//deploy/sca_B2BX12OrderGateway_rev1.0.jar
[delete] Deleting: C:\fod\CompositeServices\B2BX12OrderGateway\deploy\sca_B2BX12OrderGateway_rev1.0.jar
init:
scac-validate:
[echo] Running scac-validate in C:\fod\CompositeServices\B2BX12OrderGateway\bin/..//composite.xml
[echo] oracle.home = D:\Middleware\JDEV\jdeveloper\
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
scac:
[scac] Validating composite "C:\fod\CompositeServices\B2BX12OrderGateway\bin/..//composite.xml"
[scac] Composed "B2BOrderProcessingEngine" in 89.0 milliseconds [nodes 45=2+43, 505.7 nodes/sec]
[scac] Compiled "B2BOrderProcessingEngine" in 2.010 seconds
[scac] Gathered 7 files in 1.0 milliseconds
[scac] Packaged "B2BOrderProcessingEngine" in 13.9 milliseconds
[scac] warning: location {ns:composite/ns:reference[@name='StoreFrontService']}(48,162): Failed to Find Binding "StoreFrontService":"{www.globalcompany.example.com}StoreFrontServiceSoapHttpPort" in WSDL Manager
[scac] warning: location {ns:composite/ns:reference[@name='OrderBookingService']}(59,116): Failed to Find Binding "OrderBookingService":"{http://www.globalcompany.example.com/ns/OrderBookingService}OrderProcessor_pt" in WSDL Manager
[scac] warning: in B2BOrderProcessingEngine.componentType: property "bpel.config.use.events" may not be understood by BPEL component B2BOrderProcessingEngine - it will likely be ignored.
[scac] warning: in B2BOrderProcessingEngine.bpel(188): <from> value type "{http://www.w3.org/2001/XMLSchema}integer" is not compatible with <to> value type "{http://www.w3.org/2001/XMLSchema}string"
package:
[echo] oracle.home = D:\Middleware\JDEV\jdeveloper\
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
compile-source:
[mkdir] Created dir: C:\fod\CompositeServices\B2BX12OrderGateway\dist
[copy] Copying 27 files to C:\fod\CompositeServices\B2BX12OrderGateway\dist
[copy] Warning: C:\fod\CompositeServices\B2BX12OrderGateway\src not found.
[copy] Warning: C:\fod\CompositeServices\B2BX12OrderGateway\SCA-INF\src not found.
[copy] Copying 6 files to C:\fod\CompositeServices\B2BX12OrderGateway\dist\SCA-INF\classes
[jar] Building jar: C:\fod\CompositeServices\B2BX12OrderGateway\deploy\sca_B2BX12OrderGateway_rev1.0.jar
[delete] Deleting directory C:\fod\CompositeServices\B2BX12OrderGateway\dist
setupDeploymentEnvironment:
[copy] Copying 1 file to C:\fod\CompositeServices\B2BX12OrderGateway\bin
[echo] Setting up deployment plan, modifying B2BX12OrderGateway_deployment_plan.xml
[echo] Replacing ws-endpoint with RZV-PC:8001/soa-infra/services/soaFusionOrderDemo/OrderSDOComposite!1.0/StoreFrontService
[echo] Replacing soa server and wls server information
[echo] -SOA: RZV-PC 8001
[echo] Replacing communication style, eventbased? true
[echo] Replacing soa partition name with soaFusionOrderDemo
[echo] Wls home: D:\Middleware\JDEV\jdeveloper\/../wlserver_10.3
[echo] Oracle home: D:\Middleware\JDEV\jdeveloper\
init:
compile:
create-war:
[echo] Deploying jsca shared lib? true
[echo] Wls home: D:\Middleware\JDEV\jdeveloper\/../wlserver_10.3
[echo] Oracle home: D:\Middleware\JDEV\jdeveloper\
create-ear:
[echo] global: true > ejb: ${use.ejb} jsca: true
[echo] Deploying jsca shared lib? true
[echo] Wls home: D:\Middleware\JDEV\jdeveloper\/../wlserver_10.3
[echo] Oracle home: D:\Middleware\JDEV\jdeveloper\
clean:
[echo] Cleaning up external partner supplier ejb project ../classes/../deploy
[delete] Deleting: C:\fod\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear
[echo] Deploying jsca shared lib? true
[echo] Wls home: D:\Middleware\JDEV\jdeveloper\/../wlserver_10.3
[echo] Oracle home: D:\Middleware\JDEV\jdeveloper\
init:
copy:
[copy] Copying 5 files to C:\fod\CompositeServices\ExternalLegacyPartnerSupplierEjb\classes
compile:
[javac] Compiling 6 source files to C:\fod\CompositeServices\ExternalLegacyPartnerSupplierEjb\classes
[javac] Note: C:\fod\CompositeServices\ExternalLegacyPartnerSupplierEjb\src\com\otn\sample\fod\soa\externalps\test\EpsSessionEJBClient.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
create-ejb-ear:
[echo] Deploying jsca shared lib? true
[echo] Wls home: D:\Middleware\JDEV\jdeveloper\/../wlserver_10.3
[echo] Oracle home: D:\Middleware\JDEV\jdeveloper\
init:
copy:
compile:
create-jsca-ear:
[mkdir] Created dir: C:\fod\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib
[copy] Copying 1 file to C:\fod\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib
[echo] ../classes/meta-inf/
[jar] Building jar: C:\fod\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\APP-INF\lib\ExternalPartnerSupplierScaModule.jar
[jar] Building MANIFEST-only jar: C:\fod\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\empty.jar
[ear] Building ear: C:\fod\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear
compile-deploy-all:
[echo] Deploying SOA Fusion Order Demo ..
[echo] Deploying jsca shared lib? true
[echo] Wls home: D:\Middleware\JDEV\jdeveloper\/../wlserver_10.3
[echo] Oracle home: D:\Middleware\JDEV\jdeveloper\
deploy-application:
[echo] Deploying jsca shared lib? true
[echo] Wls home: D:\Middleware\JDEV\jdeveloper\/../wlserver_10.3
[echo] Oracle home: D:\Middleware\JDEV\jdeveloper\
deploy-jsca-library:
[wldeploy] weblogic.Deployer -remote -noexit -name weblogic-sca -source D:\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.1.war -targets soa_server1 -adminurl t3://RZV-PC:7001 -user weblogic -password ******** -deploy -library
[wldeploy] weblogic.Deployer invoked with options: -remote -noexit -name weblogic-sca -source D:\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.1.war -targets soa_server1 -adminurl t3://RZV-PC:7001 -user weblogic -deploy -library
[wldeploy] <Jun 5, 2011 1:53:36 PM GMT+02:00> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, weblogic-sca [archive: D:\wlserver_10.3\common\deployable-libraries\weblogic-sca-1.1.war], to soa_server1 .>
[wldeploy] weblogic.Deployer -remote -upload -noexit -name ExternalPartnerSupplierEjb -source C:\fod\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear -targets soa_server1 -adminurl t3://RZV-PC:7001 -user weblogic -password ******** -deploy
[wldeploy] weblogic.Deployer invoked with options: -remote -upload -noexit -name ExternalPartnerSupplierEjb -source C:\fod\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear -targets soa_server1 -adminurl t3://RZV-PC:7001 -user weblogic -deploy
[wldeploy] <Jun 5, 2011 1:53:38 PM GMT+02:00> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, ExternalPartnerSupplierEjb [archive: C:\fod\CompositeServices\ExternalLegacyPartnerSupplierEjb\deploy\ExternalPartnerSupplierEjb.ear], to soa_server1 .>
[wldeploy] Task 5 initiated: [Deployer:149026]deploy application ExternalPartnerSupplierEjb on soa_server1.
[wldeploy] Task 5 failed: [Deployer:149026]deploy application ExternalPartnerSupplierEjb on soa_server1.
[wldeploy] Target state: deploy failed on Server soa_server1
[wldeploy] weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: weblogic-sca, exact-match: false].
[wldeploy]
[wldeploy]
BUILD FAILED
C:\fod\CompositeServices\bin\build.xml:172: The following error occurred while executing this line:
C:\fod\CompositeServices\ExternalLegacyPartnerSupplierEjb\bin\build.xml:169: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 5 failed: [Deployer:149026]deploy application ExternalPartnerSupplierEjb on soa_server1.
Target state: deploy failed on Server soa_server1
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: weblogic-sca, exact-match: false].
Total time: 1 minute 8 seconds -
Failed to add item: Generic file I/O error
One of our iPhone users once in a while gets this response in e-mail from our mobility server since we updated it to Mobility 2.0.1.
From: Mobility Administrator
Date: 18 Jun 2014 22:56:26 GMT+2
To: "Username" <[email protected]>
Subject: Failed to Add Item
Mobility failed to add the following item because: Generic file I/O error
Item Type: Email
Subject: Re: Project blabla
From: Mobility Administrator
Date: 17 Jul 2014 23:00:48 GMT+2
To: "Username"
Subject: Failed to Add Item
Mobility failed to add the following item because: Generic file I/O error
Item Type: Email
This one came two times with only 3mins between. Was a response to separate e-mails.
Strange symptom: The message is saved, sent and delivered anyways.
Occurrence: maybe once every 4 weeks.
Sent to both internal as external addresses.
Plenty of free space on both the Mobility and GWIA server.
Update order: Data Synchronizer 1.2.5 to 2.0.0 (CD update) and then through yast-patterns to 2.0.1 everything according to the upgrade manual.
Update date: 26/may/2014
All hard disks in SAN are fine, running on VM SLES11SP2
Any ideas what might be causing this?In article <[email protected]>, Jvzuijlen wrote:
> @konecnya: I'm not sure which volume type was used as this is our GW
> administrators job, but reading the installation documentation i think
> it is an NSS volume specially created for it. It's SLES11SP2 running on
> XenServer. The GRPWISE partition is: /dev/xvdb
that tells me more about the underlying XEN side, i.e. What 'hardware' is
in use. A df -h can tell better if it is an NSS volume, as per this
example.
Filesystem Size Used Avail Use% Mounted on
/Dev/pool/MAIL 750G 310G 441G 42% /opt/novell/nss/mnt/.pools/MAIL
MAIL 600G 308G 293G 52% /media/nss/MAIL
>
> But i think the first thing we should test is working with the backup
> settings. Probably the backup is set to lock the files during backup.
> Our administrator will look at this when he's back from his holidays.
Has your administrator had a chance to look into this yet? Backups do
need to respect databases better than just locking their files, it needs
to be a cooperative action.
Andy of
KonecnyConsulting.ca in Toronto
Knowledge Partner
http://forums.novell.com/member.php/75037-konecnya
If you find a post helpful and are logged in the Web interface, please
show your appreciation by clicking on the star below. Thanks! -
Web services randomly fail to deploy properly in OC4J
I have an ear with around 15 services, and sometimes (today, all the time, other times, not at all) some of the services fail to deploy correctly in that when I come to access them I get one of the following (the service that fails is generally different so the below is just an example):
2009-07-07 15:06:16.633 WARNING OWS-03005 Unable to connect to URL: http://local
host:8888/democustomer/CimsImageService due to java.security.PrivilegedActionExc
eption: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type:
text/html
OR
2009-07-07 15:06:16.711 ERROR OWS-04005 An error occurred for port: {http://serv
ices.cims.prologic.com/}CimsCategoryService: javax.xml.rpc.JAXRPCException: Erro
r loading Tie: com.prologic.cims.services.runtime.CimsCategoryWebServiceSoapHttp
_Tie.
Missing class: com.prologic.cims.services.runtime.CimsCategoryWebServi
ceSoapHttp_Tie
Dependent class: oracle.j2ee.ws.server.J2EEImplementor
Loader: oc4j:10.1.3
Code-Source: /C:/oc4j/webservices/lib/wsserver.jar
Configuration: <code-source> in META-INF/boot.xml in C:\oc4j\j2ee\home
\oc4j.jar
This load was initiated at democustomer.web.democustomer:0.0.0 using the loadCla
ss() method.
The missing class is not available from any code-source or loader in the system.
If I redeploy it often, but not always, sorts the problem out so it is not a source code issue and I guess, possibly not a deployment descriptor problem for the same reason.
I'm running on OC4J 10.1.3.1 (we need to run with this version for now).
I get the same problem very occasionally on Linux 10.1.3.n but it's rare.
Anyone out there seen this before ? It's becoming very irritating.idris, the only workaround I have found is to check at container startup that each service was deployed ok, by making a call to a serviceAvailable method. That way, if I restart OC4J after a deployment I see log messages if all was not well (and in fact I can specify that the container shouldn't start if the service failed)
Class oracle.j2ee.server.OC4JStartup is the one you want and insert something like into server.xml after the cluster element (the jar conmtaining your code needs to be in the applib directory too):
<init-library path="../applib/startupshutdown.jar" /> <!-- or wherever we put it -->
<startup-classes>
<startup-class classname="com.prologic.cms.services.StartupServer" failure-is-fatal="true" >
<execution-order>0</execution-order>
<init-param>
<param-name>TestServices</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>deployment.port</param-name>
<param-value>7777</param-value>
</init-param>
<init-param>
<param-name>ASwitchToPassIn</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>SearchIndexRebuild</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>waitfor</param-name>
<param-value>50000</param-value>
</init-param>
<init-param>
<param-name>language</param-name>
<param-value>en</param-value>
</init-param>
<init-param>
<param-name>locale</param-name>
<param-value>UK</param-value>
</init-param>
</startup-class>
</startup-classes> -
750 to 1200 line items per order
Hi
Does any body have the experience of creating order with 750-1200 line items per order, in such scenario how the performance of the e-commerce was handled, was any custom development made to achieve.
please let us know
thanks
vigneshStefan, as stated, this was not well thought through solution (but with some work would be possible to achieve).
Regarding memory leaks. We have spent quite a bit of time looking in-depth at the shop code over the years and have so far seen very little evidence of actual memory leaks.
MASSIVE memory consumption, yes, definitely, but no actual leaks
If you have a suitable OS and JVM running that will allow you to crank up your JVM memory settings then you will most likely see that the memory usage will plateau...it might just be at a much higher level than you would have reasonably expected.
To give you an example. One of our customers was running a very large catalog (900 000 items) and the shop used 22 GB of memory when running. One of the main reasons in their case, with such a big catalog, was how the web shop chooses to create web cat items and cache them. Deep in the standard shop code you can find that there are lots and lots of ArrayLists initiated and they are all given a >0 default length, which consumes memory even when empty. In this particular case this became such a big issue that we sent SAP the proof that if they would initiate the ArrayLists with 0 length the memory consumption would drop significantly for each WebCatItem instance.
We estimated at the time after some in-place replacements of the CatalogAttributeValue, class out of the pcatAPI.jar where we set it by default to null instead of size of 10 that we would have saved about 40% of memory consumption. We even prepared the test case and sent it all to SAP, but don't think we ever got it implemented in standard code.
Another suggestion was that SAP would implement a LRU cache for catalog caching for larger catalogs....again would help with memory usage challenges.
With another customer we had 1 Million+ hits per business day (8 h period) and I can't remember us ever having to chase up memory leaks in the standard shop code...they might exist, but perhaps the usage scenarios I've been involved in have just not brought most of them to daylight.
Purely out of interest...if you have found memory leaks in the shop it would be interesting to hear where you found them.
Cheers
Kalle -
WebLogic 12.1.2 fails when deploying an enterprise application(ear) that contains a ejb in which injected 1) an extension 2)bean with injection of this extension.
The following exception is thrown:
Caused By: org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [CdiExtension] with qualifiers [@Default] at injection point [[field] @Inject private test.extension.Bean1.extension].
Possible dependencies [
[Extension [class test.extension.CdiExtension] with qualifiers [@Default]; zip:/domain1/servers/AdminServer/tmp/_WL_user/test/7x6roh/lib/test-extension-0.0.1-SNAPSHOT.jar!/META-INF/services/javax.enterprise.inject.spi.Extension@1[test.extension.CdiExtension@1115deb],
Extension [class test.extension.CdiExtension] with qualifiers [@Default]; zip:/domain1/servers/AdminServer/tmp/_WL_user/test/7x6roh/lib/test-extension-0.0.1-SNAPSHOT.jar!/META-INF/services/javax.enterprise.inject.spi.Extension@1[test.extension.CdiExtension@ed791f]]]
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:314)
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:280)
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:143)
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:163)
at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:382)
at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:367)
at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:379)
at com.oracle.injection.provider.weld.WeldInjectionContainer.start(WeldInjectionContainer.java:106)
at com.oracle.injection.integration.CDIAppDeploymentExtension.initCdi(CDIAppDeploymentExtension.java:70)
at com.oracle.injection.integration.CDIAppDeploymentExtension.activate(CDIAppDeploymentExtension.java:47)
at weblogic.application.internal.flow.AppDeploymentExtensionFlow.activate(AppDeploymentExtensionFlow.java:37)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:729)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:61)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
Problem can be easily reproduced by a minimal case:
test.ear:
\lib\test-extension-0.0.1-SNAPSHOT.jar
test-ejb-0.0.1-SNAPSHOT.jar
where
test-extension-0.0.1-SNAPSHOT.jar contains:
CdiExtension.java:
package test.extension;
import javax.enterprise.inject.spi.Extension;
public class CdiExtension implements Extension {
private String someString = "Some String";
public String getSomeString() {
return someString;
Bean1.java:
package test.extension;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
@ApplicationScoped
public class Bean1 {
@Inject
private CdiExtension extension;
public String get() {
return extension.getSomeString();
test-ejb-0.0.1-SNAPSHOT.jar contains:
EjbBean.java:
package test;
import test.extension.Bean1;
import test.extension.CdiExtension;
import javax.ejb.Stateless;
import javax.inject.Inject;
@Stateless
public class EjbBean {
@Inject
private CdiExtension extension;
@Inject
private Bean1 bean1;
public String getSomeString() {
return extension.getSomeString() + "\n" + bean1.get();
p.s. i seen same problem in community.oracle.com/thread/2577403 , but it happen in "war", not "ear", and seems successfully patched with patch №17424706Hi,
It looks like there is patch exists for this issue.
Patch 17198187
Please try to download from the MOS or try to open a ticket with support.
Regards,
Kal -
No delivery-relevant items in order 0060000120, order type ZNRE, Message no
Hi Experts
I am trying to do return delivery( Sales Return) through the transaction code "VL01N" but I am getting the error "No delivery-relevant items in order 0060000120, order type ZNRE, Message no. VL455".
1) I did Check the Sales Order Document "ZNRE" at Transaction Code VOV8, there Delivery Type "LR" is assigned, both the order and delivery related billing are assigned with "RE-Credit For Returns and Sales Document Category is "H-Returns".
2) I did check the Item Category "REV" at Transaction Code "VOV7", there both Schedule Line and Returns box are with check and Item Relv f Delv is Uncheck.
3) I did check Schedule Line Category "ZZ-No MRP" at Transaction Code "VOV6", there Item relv f Del is check and movement type 651-Good Ret. Del Returns.
4) I did check Copy Control at VTLA, LR is delivery type and ZNRE is order type is maintained properly both the side at header level and item level.
5) I did check at Return Sales Order Document Flow, it is as follows below
Document Quantity Unit Ref.Value Currency On Statutus
Narmada Qtn 0020000043/10 1 EA 350000 NZD 04.10.2011 Completed
Narmada Std Order 0000012229/10 1 EA 350000 NZD 04.10.2011 Completed
Delivery 00815249/10 1 EA 05.10.2011 Completed
Invoice (F2) 0090036433/10 1 EA 350000 NZD 05.10.2011 F1 Document Created
Narmada Return 0060000120/10 1 EA 350000 NZD 12.10.2011 Open
Kindly help me to resolve this error.
Thanks and Regards
M.Dheerendar JainDear DHEERENDAR JAIN ,
Please check few things.
whether the immediate delivery switch is clicked for the document type (just to make sure delivery is not actually created in the background). or else check and confirm in the doc.flow.
Then keep item category as relevant for delivery.
Now in table VBUK or VBUP , you check whats the delivery relevance . give your sales order no as VBELN .
I hope you know to use SE11 /SE16N etc
It will be NOT RELEVANT FOR DELIVERY.
now comes to va02, make some changes in the qty and save.
Check whether VBUK/VBUP-delivery relevance field is updated.
Even if you have made a change in the item category - relevance for delivery , it will not affec the documents which were already created.
Now if its a DEV or QAS, make a fresh order and test. It should work.
If its prdn, please let us know. We will have to edit 2 fields in the table VBUK and VBUP.
Thanks & Regards,
Hegal K Charles -
SDM failed when deploying a Web Dynpro application
SDM failed when deploying a Web Dynpro application - I get the following error message:
Sep 19, 2006 2:25:34 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[001]Deployment aborted
Settings
SDM host : eix-blade-011
SDM port : 50118
URL to deploy : file:/D:/DOCUME1/AMRM1.AZI/LOCALS1/Temp/temp43621sap.comwelcome.ear
Deployment exception : Server eix-blade-011 did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server eix-blade-011 at port 50118: eix-blade-011
Inner exception was :
Server eix-blade-011 did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server eix-blade-011 at port 50118: eix-blade-011Amr Azim,
You must have logged in thru a dedicated connection to any server through say VPN before deploying.This way the sdm uses the same login as that of already establised connection.
So 'sign of' all connections to any servers before deploying and redeploy your application.Here you will be prompted to supply the sdm password and deployment shall proceed. -
we are using VS 2013, I need to run multiple Coded UI Ordered Tests in parallel on different agents.
My requirement :
Example: I have 40 Coded UI Test scripts in single solution/project. i want to run in different OS environments(example 5 OS ). I have created 5 Ordered tests with the same 40 test cases.
I have one Controller machine and 5 test agent machines. Now I want my tests to be distributed in a way that every agent gets 1 Ordered test to execute.
Machine_C = Controller (Controls Machine_1,2,3,4,5)
Machine_1 = Test Agent 1 (Should execute Ordered Test 1 (ex: OS - WIN 7) )
Machine_2 = Test Agent 2 (Should execute Ordered Test 2 (ex:
OS - WIN 8) )
Machine_3 = Test Agent 3 (Should execute Ordered Test 3
(ex: OS - WIN 2008 server) )
Machine_4 = Test Agent 4 (Should execute Ordered Test 4 (ex:
OS - WIN 2012 server) )
Machine_5 = Test Agent 5 (Should execute Ordered Test 5 (ex:
OS - WIN 2003 server) )
I have changed the “MinimumTestsPerAgent” app setting value
as '1' in controller’s configuration file (QTController.exe.config).
When I run the Ordered tests from the test explorer all Test agent running with each Ordered test and showing the status as running. but with in the 5 Test Agents only 2 Agents executing the test cases remaining all 3 agents not executing the test cases but
status showing as 'running' still for long time (exp: More then 3 hr) after that all so its not responding.
I need to know how I can configure my controller or how I can tell it to execute these tests in parallel on different test agents. This will help me reducing the script execution time.
I am not sure what steps I am missing.
It will be of great help if someone can guide me how this can be achieved.
-- > One more thing Can I Run one Coded UI Ordered Test on One Specific Test Agent?
ex: Need to run ordered Test 1 in Win 7 OS (Test Agent 1) only.
Thanks in Advance.Hi Divakar,
Thank you for posting in MSDN forum.
As far as I know, we cannot specify coded UI ordered test run on specific test agent. And it is mainly that test controller determine which coded UI ordered test assign to which test agent.
Generally, I know that if we want to run multiple CodedUI Ordered Tests over multiple Test Agents for parallel execution using Test Controller.
We will need to change the MinimumTestsPerAgent property to 1 in the test controller configuration file (QTControllerConfig.exe.config) as you said.
And then we will need to change the bucketSize number of tests/number of machines in the test settings.
For more information about how to set this bucketSize value, please refer the following blog.
http://blogs.msdn.com/b/aseemb/archive/2010/08/11/how-to-run-automated-tests-on-different-machines-in-parallel.aspx
You can refer this Jack's suggestion to run your coded UI ordered test in lab Environment or load test.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/661e73da-5a08-4c9b-8e5a-fc08c5962783/run-different-codedui-tests-simultaneously-on-different-test-agents-from-a-single-test-controller?forum=vstest
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
FM for Actual cost line items for orders.
HI EXPERTS,
I was working on Actual cost line items for orders / Internal orders of an employee.
standard program RKAEP000 is present through TCODE KOB1.
I want some customization of report, so debugged the program and found that its using a FM 'K_LINE_ITEMS_SELECT_AND_LIST' to calculate internal orders.
But the FM has used REUSE_ALV_* and displaying output itself.
the requirement is to customize the output display .
I searched with K_LINE_* and found some other function modules too.
K_LINE_ITEM_CHECK
K_LINE_ITEM_APC_SIGN_GET
K_LINE_ITEM_GET_CONTEXT_MENU
K_LINE_ITEM_GET_TOOLBAR
K_LINE_ITEM_LOGICAL_KEY_GET
K_LINE_ITEM_TECH_SETTINGS_SET
K_LINE_ITEM_VALUE_TYPES_GET
K_LINE_ITEM_VALUE_TYPES_SET
K_LINE_ITEMS_ACT_GRID
K_LINE_ITEMS_SELECT
K_LINE_ITEMS_SELECT_AND_LIST
K_LINE_ITEM_ACT_CALL_WITH_DATA
K_LINE_ITEM_ACT_DATA_GET
K_LINE_ITEM_CM_CALL_WITH_DATA
K_LINE_ITEM_DEV_CALL_WITH_DATA
K_LINE_ITEM_PLN_CALL_WITH_DATA
K_LINE_ITEM_PROCESS_UCOMM_ACT
K_LINE_ITEM_STEERING_GET
Can anybody tell which FM should i use so that result i will get in an internal table?
or suggest any other methods
Thanks in Advance.
LuckyI also had the same requirement and used function module K_LINE_ITEM_ACT_DATA_GET
this function is calling K_LINE_ITEMS_SELECT_AND_LIST function with I_NO_DISPLAY parameter
and returning the result.
Already they are in same function group,
I wrote this for future requirements of people after 4 years of this thread -
Fail to deploy the "Virtual Shop Lite " Sample
Fail to deploy the "Virtual Shop Lite " Sample in
SAP Netweaver J2EE Preview (Release SAP NetWeaver 2007).
I select the SAP Server node and choose Publish from the context menu. The SAP NetWeaver Developer Studio switches to the Deploy View Console view.
At this time, the "Logon to SAP J2EE Engine" window appear.
I enter the below user and password.
user : Administrator
password : <master-password>
In the Deploy View Console, the below messages appear:
com.sap.ide.eclipse.deployer.api.AuthenticationException:
[#1]:Session::checkForTicketException:[Base Login Exception], cause=The user account is expired,or not valid yet.[more]
[#1]:DC API is trying to connect to "localhost:50004".
What should I do ?
(I try the 10th time but the result is the same.)Same problem:
Fail to deploy the "Virtual Shop Lite " Sample
Is it a BUG ??? -
Fail to deploy the "Virtual Shop Lite " Sample in
Fail to deploy the "Virtual Shop Lite " Sample in
SAP Netweaver J2EE Preview (Release SAP NetWeaver 2007).
I select the SAP Server node and choose Publish from the context menu. The SAP NetWeaver Developer Studio switches to the Deploy View Console view.
At this time, the "Logon to SAP J2EE Engine" window appear.
I enter the below user and password.
user : Administrator
password : <master-password>
In the Deploy View Console, the below messages appear:
com.sap.ide.eclipse.deployer.api.AuthenticationException:
[#1]:Session::checkForTicketException:[Base Login Exception], cause=The user account is expired,or not valid yet.[more]
[#1]:DC API is trying to connect to "localhost:50004".
What should I do ?
(I try the 10th time but the result is the same.)see the below link (same problem):
Deploying Virtual Shop Lite
I think it may be a BIG BUG.
You can see it by yourself. -
Actual cost line items for orders (KOB1)
Hello everyone,
I need to pull a certain field for an order to the
Actual cost line items for orders report (KOB1), but the field is not available when I
go to the change layout. Can someone let me know how I can have this
field listed?
Thanks in advance for your reply.
Daniel NiculaHi Christian,
Ok, so I would need some ABAP support for this right? I was hoping to do it myself.
But, the strange thing is that the field that I would like to bring in my layout is available in 2 clients in the same system and not in all the clients. I have one client in which this field is not available.
How can that be possible?
Bye! -
Not displaying Actual cost Line Items for Order
Hi Gurus,
Recently we did patching from SPC6 to SPC8. After patching we noticed that could not able to see displaying Actual cost Line Items for Order from work order.
System is not throughing error message when I double cline on line item at Plan/Actual Comparison screen in work order cost tab.
We can able to see the same from KB01 with out any problem. I have attached the details.
Could any one suggest me please. Appreciate your thoughts
Regards,
SriniHi Paul,
I have implemented this note and get it sorted out.
Thank you for support.
Regards,
Srini -
Failed to deploy web application with same name twice
Hello-
On Oracle 10g Application server I deployed an WAR file called "anbadmin", then undeployed it. The undepoloyment failed from the OEM so I undeployed it manually via removing its entries from server.xml.
When I tried to deploy it again with the same name I got this:
Failed to deploy web application "anbadmin". Failed to deploy web application "anbadmin". . The evaluate phase failed. The Adapter used in the evaluate may have thrown an exception.
Resolution:
Please call Oracle support.
Base Exception:
java.lang.NoSuchMethodError
null. java.lang.NoSuchMethodError
Is there a solution for this?
RegardsI think I know the solution. We encountered exactly same message and no further deployment could be made. It appeared message in "dcmctl" utility was much more helpfull than the one in EM (though you still have to use "getError" command...)
If you are using file-based repository, you have to issue command in dcmctl utility "resetFileTransaction". This closes repository and opens it again.
Myrra
Maybe you are looking for
-
Is there any other methods for validation of a field apart from at selection-screen on field.
-
SVG displaying issue when textpath is refering to an id - working in Firefox and Chrome
So I found a bug in the latest Internet Explorer. You can see it in this fiddle: http://jsfiddle.net/5uc17jwr/21/ Works great in Chrome and Firefox but does not show all text elements in Internet Explorer. So the question is why are just 2-3 words di
-
Hi, I have a requirement to mask SSN field on PA20 and PA30 transactions. I am aware of making changes in V_T588M to mask fields at the infotype level. I have got it done. However I do not know how to replicate the same at PA20 and PA30 transaction l
-
How do I delete files to make available capacity for my startup disk?
My laptop is constipated and will not startup... I loaded too big of an iTunes library on it. I connected via firewire and deleted about 40GB of files. Get info still says I have only 52MB of space and my laptop will not fully startup. How do I pe
-
Hi, I want to buy macbook pro without retina display 13 inch model. How much does it cost? And is it available now? I heard that Apple is going to discontinue this model soon. Is it true? Kindly let me know. Thank you.