Bundled WAR's and dependencies

Hi guys,
I am able to setup a bundled war that has a bundle dependency successfully, where the dependency is placed as library extension. Is there a way to deploy this dependency as a CEP application? or a library module?
The order of initialization as I startup is lib/ext -> webapp -> modules -> CEP app
And placing it as module or CEP App throws exceptions.
Is there a way to control it such that a webapp is initialized last?
Also, I'm using spring-osgi to wire osgi services to the CEP app but I am receiving a NullPointerException.
It seems that the ApplicationContext in /META-INF/spring is not being loaded by the CEP server.
In Spring DM documentation, it says that I have to bootstrap the context using the "webapp" way, and use a different ApplicationContext implementation, namely
org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext.
Is this the correct way to do it in Oracle CEP?
Thanks!

####<Jan 4, 2011 11:26:46 PM CST> <Info> <Jetty> <> <> <Thread-34> <> <> <> <1294154806265> <BEA-000000> <Extract applications\web\web.war to C:\Oracle\Middleware2\user_projects\domains\ocep_domain\defaultserver\Jetty\web\webapp>
####<Jan 4, 2011 11:26:46 PM CST> <Notice> <LibExt> <> <> <ThreadId:12> <> <> <> <1294154806493> <BEA-000000> <The extension library bundle "null" was started successfully>
####<Jan 4, 2011 11:26:46 PM CST> <Info> <org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean> <> <> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1294154806508> <BEA-000000> <Publishing service under classes [{com.oracle.cep.libext.LibExtAdmin}]>
####<Jan 4, 2011 11:26:46 PM CST> <Info> <OSGiLogReaderAdapter> <> <> <Log Event Dispatcher> <> <> <> <1294154806510> <BEA-000000> <Bundle[276] null, Message (BundleEvent STARTED), Exception (null), Time (1294154806493)>
####<Jan 4, 2011 11:26:46 PM CST> <Info> <OSGiLogReaderAdapter> <> <> <Log Event Dispatcher> <> <> <> <1294154806513> <BEA-000000> <Bundle[161] com.oracle.cep.libext, Message (ServiceEvent REGISTERED {org.springframework.osgi.bean.name=libExtImpl, Bundle-SymbolicName=com.oracle.cep.libext, Bundle-Version=11.1.1.4_0, objectClass=[com.oracle.cep.libext.LibExtAdmin] , service.id=129} ), Exception (null), Time (1294154806510)>
####<Jan 4, 2011 11:26:46 PM CST> <Info> <org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext> <> <> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1294154806527> <BEA-000000> <Publishing application context as OSGi service with properties {org.springframework.context.service.name=com.oracle.cep.libext, Bundle-SymbolicName=com.oracle.cep.libext, Bundle-Version=11.1.1.4_0}>
####<Jan 4, 2011 11:26:46 PM CST> <Info> <OSGiLogReaderAdapter> <> <> <Log Event Dispatcher> <> <> <> <1294154806532> <BEA-000000> <Bundle[161] com.oracle.cep.libext, Message (ServiceEvent REGISTERED {org.springframework.osgi.bean.name=libExtImpl, Bundle-SymbolicName=com.oracle.cep.libext, Bundle-Version=11.1.1.4_0, objectClass=[com.oracle.cep.libext.LibExtAdmin] , service.id=129} {org.springframework.context.service.name=com.oracle.cep.libext, Bundle-SymbolicName=com.oracle.cep.libext, Bundle-Version=11.1.1.4_0, objectClass=[org.springframework.osgi.context.DelegatedExecutionOsgiBundleApplicationContext, org.springframework.osgi.context.ConfigurableOsgiBundleApplicationContext, org.springframework.context.ConfigurableApplicationContext, org.springframework.context.ApplicationContext, org.springframework.context.Lifecycle, org.springframework.beans.factory.ListableBeanFactory, org.springframework.beans.factory.HierarchicalBeanFactory, org.springframework.context.MessageSource, org.springframework.context.ApplicationEventPublisher, org.springframework.core.io.support.ResourcePatternResolver, org.springframework.beans.factory.BeanFactory, org.springframework.core.io.ResourceLoader, org.springframework.beans.factory.DisposableBean] , service.id=130} ), Exception (null), Time (1294154806532)>
####<Jan 4, 2011 11:26:47 PM CST> <Info> <Jetty> <> <> <Thread-34> <> <> <> <1294154807047> <BEA-000000> <NO JSP Support for /web, did not find org.apache.jasper.servlet.JspServlet>
####<Jan 4, 2011 11:26:47 PM CST> <Info> <Jetty-/web> <> <> <Thread-34> <> <> <> <1294154807447> <BEA-000000> <Initializing Spring root WebApplicationContext>
####<Jan 4, 2011 11:26:47 PM CST> <Info> <org.springframework.web.context.ContextLoader> <> <> <Thread-34> <> <> <> <1294154807449> <BEA-000000> <Root WebApplicationContext: initialization started>
11:27:09 PM CST> <Info> <OSGiLogReaderAdapter> <BEA-000000> <Bundle[279] web, Message (ServiceEvent REGISTERED {org.springframework.context.service.name=web, Bundle-SymbolicName=web, Bundle-Version=1.0.0, objectClass=[org.springframework.osgi.context.DelegatedExecutionOsgiBundleApplicationContext, org.springframework.osgi.context.ConfigurableOsgiBundleApplicationContext, org.springframework.context.ConfigurableApplicationContext, org.springframework.context.ApplicationContext, org.springframework.context.Lifecycle, org.springframework.beans.factory.ListableBeanFactory, org.springframework.beans.factory.HierarchicalBeanFactory, org.springframework.context.MessageSource, org.springframework.context.ApplicationEventPublisher, org.springframework.core.io.support.ResourcePatternResolver, org.springframework.beans.factory.BeanFactory, org.springframework.core.io.ResourceLoader, org.springframework.beans.factory.DisposableBean] , service.id=307} ), Exception (null), Time (1294154829910)> As you can see both loaded correctly but I am assuming the AppContext being used by the WAR is the first one. If it helps, I have this in my web.xml:
     <context-param>
          <param-name>contextConfigLocation</param-name>
          <param-value>/WEB-INF/applicationContext-*.xml</param-value>
     </context-param>
Though there is no files inside WEB-INF.

Similar Messages

  • Assemble ant task and dependencies

    We are in a process of moving from wasp 4.5 to OC4J R3.
    We want to be able to assemble (and deploy) a bottom-up java web service using ant.
    I look at the assemble ant task but I couldn't find out how to specify using that task the jars that will be copied to WEB-INF/lib or any other option like using a custom oracle-webservices.xml file to specify the dependencies or specifying a shard library to be used..
    The documentation is really unclear about the subject.

    What's your approach to pack the files?
    Just use the assemble task to create the war structure and then add all the dependencies?
    I'm new to OC4j but it seems a reasonable request to add dependencies with the ant task , just like when you use the input tag to specify which files should be in WEB-INF/classes.
    The oracle-webservices.xml is another way to specify the web service (if i remember correctly) and I gave it as another example of where I looked to solve to problem.
    It shouldn't be that hard to pack to war file myself... it's just annoying that when you come from WASP 4.5 which is over 3 years old and it's so easy and clear how to pack a bottom-up web service.
    Message was edited by:
    user564605

  • War file and deployment

    Hi,
    im new to j2ee and there are some qns i hope you can help me with.
    1. why is there a need to put my jsp and servlets in a .war file?
    2. where do i do my placements of ejb and jsp into the respective jar and war files? in my web server?
    thanks a lot!

    1. why is there a need to put my jsp and servlets in a .war file?Answer- As technology evolved over ther period of time, it became more and more evident that the smaller and easier the things the better it is. WAR format is a ZIP format created to deploy your web application data. Hence called WAR(Web Application Archive). It usually contains your Images, JSP pages, and servlets and other related helper files needed by your web application. Java being a cross platform technology, it becomes easy and standardized to distribute your application(web) to other vendors/teams/people if one makes use of a WAR file. Once dropped in the root directory of the App server(i mean the proper webapp directory) the application server is smart enuf to load your WAR file and create respective directory structure.
    2. where do i do my placements of ejb and jsp into the respective jar and war files? in my web server?Answer:- When you add the EJB files and distribute it along with your WAR file, its called EAR(Enterprise Archive) which is WAR+ EJB jar files. As for the JSP's they form a part of the WAR and should be bundled up while creating the WAR file.
    Hope this answers the question.

  • Porting *.war files and *.ear files to Weblogic 10.3

    If we can figure this issue out, I'll see if I can't publish/post a
    maven-based solution in the Maven and Oracle forums so that others
    will not have to go through our pain.
    We are having all the usual problems regarding where Weblogic expects
    to find things and what exclusions need to be made in weblogic.xml for
    war files and weblogic-application.xml for ear files. Any insights
    would be deeply appreciated.
    Here is what our exploded war structure currently looks like.
    |____index.jsp
    |____WEB-INF
    | |____lib
    | | |____...a long list of jar files
    | |____tags
    | | |____...a short list of tag files
    | |____applicationContext.xml
    | |____web.xml
    | |____content
    | | |____...a bunch of jsps
    | |____tlds
    | | |____...some tlds
    | |____classes
    | | |____mailProperties.properties
    | | |____struts.xml
    | | |____logback.xml
    | | |____com ... the root of our class heiarchy
    |____images
    | |____...a list of images
    |____META-INF
    | |____maven
    | | |____com
    | | | |____project-name
    | | | | |____pom.xml
    | | | | |____pom.properties
    | |____MANIFEST.MF
    |____script
    | |____...some java script files
    |____style
    | |____...some css files
    Exceptions when trying to deploy are as follows:
    INFO: ... initialized Struts-Spring integration successfully
    java.lang.Exception: Could not load
    servers/AdminServer/tmp//appmergegen_1254502686535_OurApp/war/WEB-INF/classes/com...
    at com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:745)
    at com.opensymphony.xwork2.util.finder.ClassFinder.<init>(ClassFinder.java:148)
    The exception above repeats for every .class file found below
    WEB-INF/classes/com, i.e. the the ones in this module rather than the
    ones in included modules.
    Checking the file system shows that there is no such directory as
    "appmergegen_1254502686535_conap". I'm uncertain if there is actually
    supposed to be anything there, but it would seem like it.
    I've a theory that if we can solve the above issue, we can solve the
    rest ourselves.
    It would also be handy to know what packages may cause conflicts.

    Alright, my research points to the idea that this might have something to do with staging. Since this is a dev setup we don't have any managed servers or anything. All we have is AdminServer and that is it. We have only one domain and it is "base_domain". Does anyone know if this is wrong?

  • War Files And Their Deployment and Redeployment

    Howdy
    I have a WAR file that a developer gave me which I deployed on a Linux box no problem.
    Now I would like to add a jsp file and custom tag to this application.
    This is what I tried:
    I turned the war file into a zip file extracted the contents and then added my jsp page the class file for the custom tag modified the web.xml file for the tag and added a tld file for the tag as well.
    Then I rezipped the files and renamed to a .war file and deployed it on the linux box. The previous existing files work but my new jsp page comes up with a HTTP 404 Not Found error.
    Now the new jsp and custom tag work on my development machine just not on the live server when reployed into the other existing app.
    What am I missing? Or am I totally off with trying to redeploy the app in this way?
    Any help appreciated.
    Adam

    For deployment you need to use ant

  • With the Photoshop and Lightroom bundle, does Bridge and Camera Raw come with it?

    With the Photoshop and Lightroom bundle, does Bridge and Camera Raw come with it?

    Hi,
    Yes, both Camera Raw and Bridge are included. Bridge will need a separate installation, however.
    regards,
    steve

  • How to bundle all files and directories in a package?

    how to bundle all files and directories in a package?
    i plan to put all image files, .class files and some other files together.and then double click the package to execute the program.
    should i use jar?is there a link for tutorial or example?
    thanks in advance

    http://java.sun.com/docs/books/tutorial/jar/

  • OBIEE 11g - Fusion Middle ware control and BI Publisher not launching

    Hello
    I have successfully installed OBIEE11G but the installation has not been stable. Sometimes I find all three components 1) web logic 2) fusion middle ware control and 3) bi publisher
    whereas most of time, only weblogic console is coming up.
    When I tried to manually start the fusion middleware deployment it gives following error
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, Specification-Version: 1, Implementation-Version: 11.1.1.1.0, exact-match: false], [Extension-Name: oracle.webcenter.skin, exact-match: false].And how do I start bi publisher services. Currently when I launch BI Publisher I get following
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.The URLs by standard installation is given below
    WebLogic Console
                   http://localhost:7001/console
              Oracle Enterprise Manager
                   http://localhost:7001/em
              Business Intelligence Enterprise Edition
                   http://localhost:9704/analytics
              Business Intelligence Publisher
                   http://localhost:9704/xmlpserverThanks,
    R

    Hi,
    After complete installation of obiee 11g
    step 1 :- start the listener and services manually
    step 2 :- Start BI services from all programs/Business intelligence/start bi services.This enables you to start OPMN,Node manager,BI server,Presentation server,BI Publisher server
    This is the method i do follow for starting up.If you want to individually start and stop the services go to FM EM console and BI foundation in that capacity management in that screen you can start or stop.The URL's mentioned are correct with their default port numbers.
    Hope helps you.
    Cheers,
    KK

  • Are 'Archived' projects in ver. 12 openable in ver. 13? ie. from Adobe Premiere bundled as Elements and Premiere.

    Subject: Are 'Archived' projects in ver. 12 openable in ver. 13? ie. from Adobe Premiere as bundled in  Elements and Premiere, their mid-level product.
    Can version 13 open up a version 12 archived project?
    How about vice versa? Have to be in a couple cities and have different version installations in different locations.
    Any insight? Support's closed and I'm heading out of town today, will need to use the 'other' version.
    Thank you.

    The ability to work natively with AVCHD files was not added until version 10, Michiel. So you'll still have to render while you work in version 8.

  • I just bought the bundled Photoshop CC and Lightroom 5 but LR won't download.

    I just bought the bundled Photoshop CC and Lightroom 5 but the LR won't download - every LR download button I click on does absolutely nothing in terms of starting LR to download. I have LR 4.4 already installed; but no sign of LR5 anywhere in Finder, downloads, etc.

    Have you tried shutting down your computer and rebooting.

  • My legally licensed CS6 has stopped working and reverted to trial mode.  I paid a bundle for this and don't care to pay more to keep the software I legally own.  There seems to be no customer support for this anymore, what do I do?

    My legally licensed CS6 has stopped working and reverted to trial mode.  I paid a bundle for this and don't care to pay more to keep the software I legally own.  There seems to be no customer support for this anymore, what do I do?
    The only answers I found were things like:
    Upgrade to CC or You're out of luck.
    This is not okay.
    Please Help!

    "Similar" problem here. I have bought a new PC, and want to install my precious CS5.5 to the new system.
    All I get is an "illegal serial number" message. Even though I deactivated on the old pc and even though I copy the serial (for the pc version) from my official products page (or whatever that page is called)...
    That's when the ordeal started to get someone at Adobe to figure out what is wrong.
    No voice support for my "old" version. 2011? Old? Come on?!
    The chat support is a Turin test, with no solution whatsoever.
    The websites linked to in the final "chat" lines which should answer my questions are utterly useless.
    So last attempt: I try overhere... and add my questions to you, OP...
    Note that the only way in which I can get a fast human reply is by calling the number for buying the new CC! Shame on you Adobe!

  • Extract the war/ear and search the method names in the classes

    Hi,
    I have implemented search function for methods in the class files in the physical path presented jars,
    using url classloader am loading class and getting class object then using reflection API am getting declared methods.
    but when i try to search more jars am getting stack over flow error.
    since am using recursive function.
    example code
    ArrayList l_alClassNames = new ArrayList ();
    RuleITClassLoader classLoader = new RuleITClassLoader();
    Map l_mapMethodDetails = new HashMap();
    m_mapPackageInformation = new HashMap();
    ArrayList l_alMethodnames = new ArrayList();
    boolean flage = false;
    JarInputStream l_objJarInputStream= null;
    try{
    l_objJarInputStream = new JarInputStream(new FileInputStream (p_sJarpath));
    JarEntry l_objJarEntry;
    while(true) {
    l_objJarEntry=l_objJarInputStream.getNextJarEntry ();
    if(l_objJarEntry == null){
    break;
    String l_sPackagename ="";
    if (l_objJarEntry.getName ().endsWith (IServiceAdministratorConstants.FILE_TYPE_CLASS)) {
    String l_sClassName = l_objJarEntry.getName().replaceAll("/", "\\.");
    l_sClassName = l_sClassName.substring(0, l_sClassName.length()-6);
    Class l_objClass = classLoader.loadClass(p_sJarpath,l_sClassName);
    if(l_objClass!=null){
    l_sPackagename= l_objClass.getPackage().getName();
    l_sPackagename = l_sPackagename.replaceAll("\\." , "/");
    Method[] l_arrayMethods = null;
    try{
    l_arrayMethods = l_objClass.getDeclaredMethods();
    }catch(NoClassDefFoundError exException){
    /*m_objLogger.log(ILoggerConstants.SERVICEADMIN_WEBAPP, CLASS_NAME,
    "getClasseNamesInPackage", "Error occured while l_arrayMethods ",
    exException, ILoggerConstants.SEVERITY_WARN);*/
    }catch(StackOverflowError StackOverflowError) {
    l_sClassName = l_sClassName.substring(l_sClassName.lastIndexOf("."));
    l_sClassName = l_sClassName.substring(1, l_sClassName.length());
    l_alMethodnames = new ArrayList();
    if(l_arrayMethods !=null && l_arrayMethods.length>;0){
    for (int b_MethodsIndex = 0; b_MethodsIndex < l_arrayMethods.length; b_MethodsIndex++) {
    MethodManagementDTO l_objMethods = new MethodManagementDTO();
    String l_sMethodName = l_arrayMethods[b_MethodsIndex].getName();
    l_sPackagename = l_objClass.getPackage().getName();
    if(l_sMethodName.equalsIgnoreCase(p_sServiceName)){
    Class[] l_objParameterTypes = l_arrayMethods[b_MethodsIndex].getParameterTypes();
    int l_iArgumentsNumber = new Integer(l_objParameterTypes.length);
    String l_sSearchKey = l_sPackagename+IServiceAdministratorConstants.SEARCH_KEY_CONCATENATION_SYMBOL+l_sClassName+IServiceAdministratorConstants.SEARCH_KEY_CONCATENATION_SYMBOL+l_sMethodName+IServiceAdministratorConstants.SEARCH_KEY_CONCATENATION_SYMBOL+l_iArgumentsNumber;
    ArrayList<ArgumentDTO> l_alArguments = new ArrayList<ArgumentDTO>();
    ArrayList<String> l_alArgumentsType = new ArrayList<String>();
    for (int argCnt = 0; argCnt < l_objParameterTypes.length; argCnt++) {
    ArgumentDTO l_objArguments = new ArgumentDTO();
    l_objArguments.setArgumentType(l_objParameterTypes[argCnt].getName());
    // set the arguments order.
    l_objArguments.setArgumentOrder(new Integer(argCnt));
    String l_sArgumentName = IServiceAdministratorConstants.ARGUMENT_LABEL+ (argCnt + 1);
    l_objArguments.setArgumentName(l_sArgumentName);
    l_alArguments.add(l_objArguments);
    l_alArgumentsType.add(argCnt,l_objParameterTypes[argCnt].getName());
    String l_sMethodAliasName = constructMethodAliasName(l_alArguments, l_arrayMethods[b_MethodsIndex].getName());
    if(l_alRegisteredServiceDetails.size()>0){
    for(ServiceRegistratrionDTO b_objServiceregistration :l_alRegisteredServiceDetails){
    StringBuffer l_sbSearchKey = new StringBuffer();
    l_sbSearchKey.append(b_objServiceregistration.getComponentname());
    l_sbSearchKey.append(IServiceAdministratorConstants.SEARCH_KEY_CONCATENATION_SYMBOL);
    l_sbSearchKey.append(b_objServiceregistration.getClasstname());
    l_sbSearchKey.append(IServiceAdministratorConstants.SEARCH_KEY_CONCATENATION_SYMBOL);
    l_sbSearchKey.append(b_objServiceregistration.getMethodname());
    l_sbSearchKey.append(IServiceAdministratorConstants.SEARCH_KEY_CONCATENATION_SYMBOL);
    l_sbSearchKey.append(b_objServiceregistration.getArgumentNumber());
    if(l_sbSearchKey.toString().equalsIgnoreCase(l_sSearchKey)){
    l_objMethods.setMethodDescription(checkEmpty(b_objServiceregistration.getDescription()));
    l_objMethods.setStatus(IServiceAdministratorConstants.REGISTERED_STATUS);
    l_objMethods.setAliasName(checkEmpty(b_objServiceregistration.getAliasname()));
    break;
    }else{
    l_objMethods.setAliasName(l_sMethodAliasName);
    l_objMethods.setStatus("");
    l_objMethods.setMethodDescription("");
    }else{
    l_objMethods.setAliasName(l_sMethodAliasName);
    l_objMethods.setStatus("");
    l_objMethods.setMethodDescription("");
    l_objMethods.setArgumentsNumber(l_iArgumentsNumber);
    l_objMethods.setArgumentsList(l_alArgumentsType);
    l_objMethods.setMethodName(l_sMethodName);
    if (l_arrayMethods[b_MethodsIndex].getModifiers() == Modifier.STATIC) {
    l_objMethods.setMethodInvocationType(IServiceAdministratorConstants.METHOD_INVOCATIONTYPE_STATIC);
    } else {
    l_objMethods.setMethodInvocationType(IServiceAdministratorConstants.METHOD_INVOCATIONTYPE_DYNAMIC);
    if (l_arrayMethods[b_MethodsIndex].getReturnType().getName()
    .equals(IServiceAdministratorConstants.METHOD_RETURN_TYPE)) {
    l_objMethods.setReturnType(IServiceAdministratorConstants.METHOD_RETURN_TYPE_LOGIC);
    } else {
    l_objMethods.setReturnType(IServiceAdministratorConstants.METHOD_RETURN_TYPE_NONLOGIC);
    /*l_objMethods.setServiceUuid("0");
    l_objMethods.setHidden("yes");
    l_objMethods.setInfinite("no");*/
    flage =true;
    l_alMethodnames.add(l_objMethods);
    if(l_alMethodnames.size()>0){
    l_mapMethodDetails.put(l_sClassName, l_alMethodnames);
    l_alMethodnames = new ArrayList();
    if(l_mapMethodDetails.size()>0 && flage){
    l_alClassNames.add(l_mapMethodDetails);
    l_mapMethodDetails = new HashMap();
    if(l_alClassNames.size()>0 && flage)
    m_mapPackageInformation.put(l_sPackagename, l_alClassNames);
    l_alClassNames = new ArrayList();
    I need some solution to fix.
    I need implemete the search methodsnames for war files and ear files.
    kindly help to implement on this

    Hi,
    Is it possible to send across the .ear file across as an attachment, so that I can test it out at my end ASAIC and let you know the results.
    Thanks & Regards
    Ganesh .R
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support
    [email protected]

  • Ware house and foreign exchange

    Hi..,
    Sd gurus . I am really in need of WARE HOUSE MANAGEMENT with end to end process. IO really dont know what is this end to end process in ware house .And i am working for one client So i am bound to wprk even for FOREIGN EXCHANGE in future But i am not getting the material for both the material ware house as well as foreign exchange . So.., i am really  really in need of this two topics. Could any body help me on this topics.
    Regards ,
    Rams.

    Hi Ramu,
    Please Find Complete Notes on Foreign Trade and Ware House Management below:
    FOREIGN TRADE:
    Listed below are the areas of Customizing you need to check to ensure you have fully maintained the foreign trade master data, check objects, and proposal objects. Because the system’s defaults depend on settings in Customizing, the more fully you maintain this data, the more complete the data in the purchasing and sales documents will be, and the more efficient the system will be to use.
    You can access the Implementation Guide (IMG) to customize your area of interest via your project from the SAP standard menu by choosing Tools ® AcceleratedSAP ® Customizing ® Edit Project. In the IMG for R/3 Customizing, make entries in the appropriate items in the checklist below to ensure that the Foreign Trade application component is prepared for use.
    Checklist
    This checklist applies to configuring objects for both inward and outward processing.
    Number range
    Sales and Distribution ® Foreign Trade/Customs ® Define Number Ranges
    Commodity codes and import code numbers
    Sales and Distribution ® Foreign Trade/Customs ® Basic Data for Foreign Trade ® Define Commodity Codes/Import Code Numbers by Country
    Procedure
    Definition
    Sales and Distribution ® Foreign Trade/Customs ® Basic Data for Foreign Trade ® Define Procedures and Default Value ® Define Procedure
    Sales and Distribution (SD) default value
    Sales and Distribution ® Foreign Trade/Customs ® Basic Data for Foreign Trade ® Define Procedures and Default Value ® Define Procedure Default
    Materials Management (MM) default value
    You maintain this value in the purchasing info record on the Purch. org. data 1 (Purchasing organization data 1) screen (see Foreign Trade Data in Master Records).
    Business transaction type
    Definition
    Sales and Distribution ® Foreign Trade/Customs ® Basic Data for Foreign Trade ® Define Business Transaction Types and Default Value ® Define Business Types
    SD default value
    Sales and Distribution ® Foreign Trade/Customs ® Basic Data for Foreign Trade ® Define Procedures and Default Value ® Define Default Business Type (SD)
    MM default value
    Sales and Distribution ® Foreign trade ® Basic data for foreign trade ® Define business transaction types and default value ® Define default business transaction type (MM) (Table T604)
    Mode of transport
    Definition
    Sales and Distribution ® Foreign Trade/Customs ® Transportation Ddata ® Define Modes of Transport
    MM default value
    Maintained in the vendor master on the Purchasing data screen (see Foreign Trade Data in Master Records)
    Customs offices
    Definition
    Sales and Distribution ® Foreign trade ® Transportation Data ® Define Customs Offices
    MM default value
    Maintained in the vendor master on the Purchasing data screen (see Foreign Trade Data in Master Records)
    Control of import data screens
    Sales and Distribution ® Foreign Trade/Customs ® Control Foreign Trade Data in MM and SD Documents ® Import Screens in Purchasing Document
    Countries
    General Settings ® Set Countries ® Define Countries
    Currencies
    General Settings ® Currencies ® Enter Exchange Rates
    WAREHOUSE MANAGEMENT (WM):
    Full Warehouse Management - http://help.sap.com/bp_bblibrary/500/html/A08_FullVMAuto_EN_IN.htm
    Lean Warehouse Management - http://help.sap.com/bp_bblibrary/500/html/A09_DILeanWM_EN_IN.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LEWM/MMWM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMWMLVS/MMWMLVS.pdf
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • View and dependencies

    Hello Every one.
    I know i should not be doing duplicate posting but i think this section will have pointer.
    Please look into this. What am i missing.
    Re: View and dependencies
    Thank you in advance.

    Thank you for your reply.
    I am sorry it is not getting me the result.
    I think of two things, the table is on DBLINK and is there any think to do with dependecy_type='HARD'
    .>ed
    Wrote file afiedt.buf
      1  CREATE OR REPLACE  VIEW V_test
      2  AS
      3    SELECT   rpt_date,
      4             client_id,
      5             SUM (no_received) no_received
      6        FROM xxx.daily_summery_rpt@ARCHIVE
      7       WHERE client_id = '4398000000'
      8         AND rpt_date BETWEEN trunc(sysdate-60)
      9                          AND trunc(sysdate)
    10    GROUP BY rpt_date,
    11*            client_id
    .>/
    View created.
    Elapsed: 00:00:03.07
    .>SELECT *
      2    FROM user_dependencies
      3   WHERE TYPE = 'VIEW'
      4     AND NAME = 'V_TEST';
    no rows selected
    Elapsed: 00:00:01.03
    .>I am not sure what am i missing.

  • How to create a new bundle of service and import it as normal user.

    Hi,
    I have created a service.
    Now am able to import and enable the service.
    I have placed my xml file under
    /var/svc/manifest/site
    The service name is
    <service
    name='site/newservice'
    I have imported the service as root user.
    <exec_method type='method' name='start' exec='/tmp/new/method/newservice start' timeout_seconds='30' />
    This service is not able to execute the operation which I have mentioned above. The following error is thrown in log file.
    Error: User 'root' is not the owner of '/tmp/new/method'
    So I tried to import the service as normal user, the following error is thrown.
    svccfg import /var/svc/manifest/site/newservice.xml
    svccfg: Could not create temporary service "TEMP/site/newservice" (permission de nied).
    svccfg: Import of /var/svc/manifest/site/newservice.xml failed. Progress:
    svccfg: Service "site/newservice": not reached.
    svccfg: Instance "newservice": not reached.
    Please help me to solve this issue.
    I thought instead of placing the service in default location,Why cant we create a new service of bundle and place the service there.
    Please help to solve this issue by suggesting some solution or how to create a new bundle of service and import it as normal user.
    Regards,
    Kalai

    kalaiyarasan_P wrote:
    Hi,
    I have created a service.
    Now am able to import and enable the service.
    I have placed my xml file under
    /var/svc/manifest/site
    The service name is
    <service
    name='site/newservice'
    I have imported the service as root user.Okay.
    <exec_method type='method' name='start' exec='/tmp/new/method/newservice start' timeout_seconds='30' />
    This service is not able to execute the operation which I have mentioned above. The following error is thrown in log file.
    Error: User 'root' is not the owner of '/tmp/new/method'By default, services run as the 'root' user. It's complaining that the method isn't also root.
    So I tried to import the service as normal user, the following error is thrown.You won't be able to do that easily. The user that does the import is almost always root. But wihin the manifest you could have it run as a different user.
    I thought instead of placing the service in default location,Why cant we create a new service of bundle and place the service there.
    Please help to solve this issue by suggesting some solution or how to create a new bundle of service and import it as normal user.You don't need to import this as a normal user, do you? You just want it to run as one, right?
    Darren

Maybe you are looking for