Create start-up class in the config.xml

Is there a specific location to insert <startup-class>...</startup-class> in the config.xml? It doesn't seems to work when I inserted it at the end between </saf-agent> and </domain> in the config.xml. Any idea?

rwooleen,
I am writing a script to insert the <startup-class> .. </startup-class> into the config.xml. Any hints as to where is a reliable spot to insert in the config.xml? Aside from this, is there any straight forward command prompt to do this.
Thanks.

Similar Messages

  • Two classes have the same XML type name??? Please, help...

    Hello!
    I have a simple web service class. I generated the ws server-side classes using wsgen.
    I created a jar file from the generated code.
    Then :
    Endpoint endPoint = Endpoint.create(
    new WebServicesUnitImpl()
    String wsFinalName = "http://localhost:9999/akarmi";
    endPoint.publish( wsFinalName );
    The web service started fine.
    Then called wsimport, and the generated classes have been placed into a jar file.
    Then called the code like this:
    WebServicesUnitImplService service = new WebServicesUnitImplService();
    WebServicesUnitImpl unit = service.getWebServicesUnitImplPort();
    unit.serviceXXX();
    but the code doesn't work at all, resulting this error message:
    Two classes have the same XML type name "{http://ws.components.core.ilogique.vii.com/}getMessages". Use @XmlType.name and @XmlType.namespace to assign different names to them.
         this problem is related to the following location:
              at com.vii.ilogique.core.components.ws.GetMessages
              at public com.vii.ilogique.core.components.ws.GetMessages com.vii.ilogique.core.components.ws.ObjectFactory.createGetMessages()
              at com.vii.ilogique.core.components.ws.ObjectFactory
         this problem is related to the following location:
              at com.vii.ilogique.core.components.ws.GetMessages
    I have this error report on all generated class file! How can i fix this?
    What is the main problem? The SE usage? I copied the lates jax-ws jars into endorsed lib resulting the same.
    Any help is appreciate.

    Hello!
    I have a simple web service class. I generated the ws server-side classes using wsgen.
    I created a jar file from the generated code.
    Then :
    Endpoint endPoint = Endpoint.create(
    new WebServicesUnitImpl()
    String wsFinalName = "http://localhost:9999/akarmi";
    endPoint.publish( wsFinalName );
    The web service started fine.
    Then called wsimport, and the generated classes have been placed into a jar file.
    Then called the code like this:
    WebServicesUnitImplService service = new WebServicesUnitImplService();
    WebServicesUnitImpl unit = service.getWebServicesUnitImplPort();
    unit.serviceXXX();
    but the code doesn't work at all, resulting this error message:
    Two classes have the same XML type name "{http://ws.components.core.ilogique.vii.com/}getMessages". Use @XmlType.name and @XmlType.namespace to assign different names to them.
         this problem is related to the following location:
              at com.vii.ilogique.core.components.ws.GetMessages
              at public com.vii.ilogique.core.components.ws.GetMessages com.vii.ilogique.core.components.ws.ObjectFactory.createGetMessages()
              at com.vii.ilogique.core.components.ws.ObjectFactory
         this problem is related to the following location:
              at com.vii.ilogique.core.components.ws.GetMessages
    I have this error report on all generated class file! How can i fix this?
    What is the main problem? The SE usage? I copied the lates jax-ws jars into endorsed lib resulting the same.
    Any help is appreciate.

  • Getting the JAXB exception like "Two classes have the same XML type name-"

    Getting the JAXB exception like "Two classes have the same XML type name...",
    Here is the exception details:
    Exception in thread "main" com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions Two classes have the same XML type name "city". Use @XmlType.name and @XmlType.namespace to assign different names to them. this problem is related to the following location: at com.model.City at public com.model.City com.model.Address.getCurrentCity() at com.model.Address this problem is related to the following location: at com.common.City at public com.common.City com.model.Address.getPreviousCity() at com.model.Address
    at com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException$Builder.check(Unknown Source) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(Unknown Source) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.(Unknown Source) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(Unknown Source) at com.sun.xml.internal.bind.v2.ContextFactory.createContext(Unknown Source) at com.sun.xml.internal.bind.v2.ContextFactory.createContext(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at javax.xml.bind.ContextFinder.newInstance(Unknown Source) at javax.xml.bind.ContextFinder.find(Unknown Source) at javax.xml.bind.JAXBContext.newInstance(Unknown Source) at javax.xml.bind.JAXBContext.newInstance(Unknown Source) at com.PojoToXSD.main(PojoToXSD.java:17)
    I took the example like:
    package com.model; ---->this package contains 'Address' class and 'City' class
    public class Address {
    private String areaName; private City currentCity; private com.common.City previousCity;
    package com.model;
    public class City {
    private String cityName;
    Another city class in "com.common" package.
    package com.common;
    public class City {
    private String pinCode;
    We need to create XSDs and needs to do the Marshalling and unmarshalling with the existing code in our project(like as above example code), code does not have any annotations like "@XmlRootElement/@XmlType" and we can not able to change the source code.
    I would like to know is there any solution to fix the above issue or any other ways to create XSDs and marshaling/unmarshalling(like MOXy..etc)?
    It would be great if i can get the solution from any one....May thanks in advance.
    Thanks,
    Satya.

    Getting the JAXB exception like "Two classes have the same XML type name...",
    Here is the exception details:
    Exception in thread "main" com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions Two classes have the same XML type name "city". Use @XmlType.name and @XmlType.namespace to assign different names to them. this problem is related to the following location: at com.model.City at public com.model.City com.model.Address.getCurrentCity() at com.model.Address this problem is related to the following location: at com.common.City at public com.common.City com.model.Address.getPreviousCity() at com.model.Address
    at com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException$Builder.check(Unknown Source) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(Unknown Source) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.(Unknown Source) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(Unknown Source) at com.sun.xml.internal.bind.v2.ContextFactory.createContext(Unknown Source) at com.sun.xml.internal.bind.v2.ContextFactory.createContext(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at javax.xml.bind.ContextFinder.newInstance(Unknown Source) at javax.xml.bind.ContextFinder.find(Unknown Source) at javax.xml.bind.JAXBContext.newInstance(Unknown Source) at javax.xml.bind.JAXBContext.newInstance(Unknown Source) at com.PojoToXSD.main(PojoToXSD.java:17)
    I took the example like:
    package com.model; ---->this package contains 'Address' class and 'City' class
    public class Address {
    private String areaName; private City currentCity; private com.common.City previousCity;
    package com.model;
    public class City {
    private String cityName;
    Another city class in "com.common" package.
    package com.common;
    public class City {
    private String pinCode;
    We need to create XSDs and needs to do the Marshalling and unmarshalling with the existing code in our project(like as above example code), code does not have any annotations like "@XmlRootElement/@XmlType" and we can not able to change the source code.
    I would like to know is there any solution to fix the above issue or any other ways to create XSDs and marshaling/unmarshalling(like MOXy..etc)?
    It would be great if i can get the solution from any one....May thanks in advance.
    Thanks,
    Satya.

  • Where can I find the config.xml file for my Edge project?

    Or is that a nonsensical question?
    Basically, I am producing a very simple iPad app using Edge and PhoneGap Build. It's all good to go apart from the orientation - I want to be able to lock it to portrait. On researching, it appears that I need to specify the web build/app as portrait in the config.xml file - so where would I find this?
    Thanks!

    I am not familiar with the phonegap process but I suspect the file you should be attempting to modify is called manifest.xml.
    Example, see someone else's solution posted here. jQuery Mobile lock orientation - Stack Overflow
    hth
    Darrell

  • [svn:osmf:] 17548: Remove left-over event handler, which could trigger an unnecessary event if a player loaded plugins through the config XML file and manually  (e.g.

    Revision: 17548
    Revision: 17548
    Author:   [email protected]
    Date:     2010-09-01 14:09:14 -0700 (Wed, 01 Sep 2010)
    Log Message:
    Remove left-over event handler, which could trigger an unnecessary event if a player loaded plugins through the config XML file and manually (e.g. for static plugins).
    Modified Paths:
        osmf/trunk/libs/samples/ChromeLibrary/org/osmf/chrome/configuration/PluginsParser.as

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • Problem with the config.xml

    Dear all,
    After doing a wscompile on the config.xml file (JWSDP1.6), I am able to generate the wsdl for the interface defined.
    But now the config.xml shows an error
    "Cannot find the declaration of element 'configuration' "
    for the attribute xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config"
    Any idea what is the problem as "http://java.sun.com/xml/ns/jax-rpc/ri/config" is no longer available on the sun site.
    Any alternate references to be made to this xml namespace declaration.
    Rgds,
    Seetesh

    My point above is that Project 2007 was extremely buggy and unless files are saved using Project 2007 SP3 first you are likely to experience problems with the files when opening in project 2010. Project 2007 to 2010 with no service packs is problematic.
    With SPs applied you should have far fewer problems.
    Doesn't look like a exe with SP2 is available yet so you need to add the service pack separately, probably in the updates folder.
    If all Project 2007 installs are already at SP3 then no need for this.
    Rod Gill
    Author of the one and only Project VBA Book
    www.project-systems.co.nz

  • Can create new cache with new cache config xml to existing cache server?

    Hi,
    I have a question regarding coherence cache.
    currently there is coherence cache server running with its own cache config file.
    Can I create another cache with new cache config file?
    If so, do I need add my own cache config file and pof file to the server?
    so during cache server start up, it can load cache config and pof config file?
    Thanks for the help.
    Regards
    Julia

    Yes, when you want to load your own cache configuration you can use something like
    export CLASSPATH=coherence.jar
    java -Xms512m -Xmx512m -Dtangosol.coherence.cacheconfig=my-cache-config.xml com.tangosol.net.DefaultCacheServerby using the system parameter tangosol.coherence.cacheconfig you can add your own cache configuration. Note that
    the POF configuration is loaded when you are referring to it in your cache configuration.

  • Tool to create Java Object classes using the Database Tables

    Hi,
    Is their any tools or utility available to create the Java Object Classes using the Database Tables as input.
    Lets Say I am having the Employee, Employee_Salary tables in the Database.The utility has to create the Java Object classes with the relation.
    Please Help...
    Thx..

    Hm, for generating regular Java classes I wouldn't know one from memory. But I suggest you start searching in for example the Eclipse marketspace for a third party plugin that can do it. If all fail, you could always use Hibernate Tools from the Jboss Tools Eclipse plugin set to generate Hibernate/JPA entities and then strip the annotations from them to turn them into regular POJO classes.
    How many tables are we talking about anyway? It might be less effort to just create the classes with properties and then use an IDE to generate getters and setters for them.

  • Managed Servers not starting with options configured in config.xml

    Hi,
    I Installed an Weblogic 10.3 on a Red Hat system and i configured an domain and 2 managed servers.
    I configured the servers with some java arguments like this:
    -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:/home/oracle/logs/managed-server{1,2}_gc.log -XX:NewSize=128m -XX:MaxNewSize=128m -Xms384m -Xmx384m -XX:PermSize=128m
    I do see in the ${DOMAIN_HOME}/config/config.xml the managed servers with the settings that I have configured it via the Web Gui Admin Console.
    Now I want to start the Managed Servers with the following command:
    +cd ${DOMAIN_HOME}/bin+
    +./startManagedWebLogic.sh managed-server1 http://admin:port+
    When i check the console, I don't see the correct JVM settings! Also other options that I configured in the Web Gui Admin Console, don't appear in the logfile.
    The JVM settings I see, are those from the AdminServer.
    How can I change/fix this?
    Please help.
    Kind regards,
    Werner

    Hi,
    Please add the changes to the startup script startManagedWeblogic.sh.
    You can add the memory args settings as "-XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:/home/oracle/logs/managed-server{1,2}_gc.log -XX:NewSize=128m -XX:MaxNewSize=128m -Xms384m -Xmx384m -XX:PermSize=128m"
    Please let me know if it dosent fix.

  • Moving from com.sun.xml classes to the new xml support integrated in java

    So far, for our XML implementation, we have used the DocumentEx, ElementEx, etc. from com.sun.xml.
    We understand that xml is now supported by the java itself (javax.xml.parsers?) and we wish to update our code to use the newer API.
    Is there a simple mapping between the old DocumentEx and ElementEx and new classes in javax.xml? Can it really be simple to "get rid" of com.sun.xml?

    The combination of the:
    Oracle XML SQL Utility
    and
    Oracle XML Parser for PLSQL V2
    give you what you need.
    null

  • Create new depreciation class for the existing asset

    Dear Experts,
    Please explain step by step:
    1. How to create a new depreciation class for the existing asset
    2. How to make a asset transfer to the new asset in the new asset class?
    Thank you in advance

    Hi,
    The pre-requsit of creating a new assets clause :-
    1. Co. code assigned to Chart of Dep.
    2. Dep areas have been defined
    3. GL account no. is not more than 8 digit.
    The transfer of an assets within the same co code can be done thru T.code ABUMN.
    Award if helpful
    Sunil

  • How to create a user class for the customer realm

    how can I create a User class for my custom security realm, please help me out. i am trying to access using the active directory server and iam unable to write a simple classs for this user, can anyone help me. iam a beginner, would appriciate if any one helps me.regardsbaba

    Hi Rawat,
       You Don't need to create User Exits,but you need to find user Exits.Below are list of user Exits for MB31.
    Use proper exit as per your requirement.
    Exit Name     Description
    MBCF0002     Customer function exit: Segment text in material doc. item
    MBCF0005     Material document item for goods receipt/issue slip
    MBCF0006     Customer function for WBS element
    MBCF0007     Customer function exit: Updating a reservation
    MBCF0009     Filling the storage location field
    MBCF0010     Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011     Read from RESB and RKPF for print list in  MB26
    MB_CF001     Customer Function Exit in the Case of Updating a Mat. Doc.
    award points if ans is useful.
    Regards,
    Albert

  • Configuring the config.xml file path

    Hi All,
    I am calling a startWebLogic script from another script as 'root'.When the other script calls the startWebLogic script it is reading config.xml path as /opt/bea/./config.xml and is giving errors.
    It is taking the default path as /opt/bea .Where should I specify the correct path.
    Thanks
    sandhya

    Better post this question at a Struts related forum. There is a mailinglist at their own homepage and a forum at Nabble.com.

  • Set up a read only group on the config.xml file through Admin console

    I would like to set up a group which can use Admin console
    (http://ip:7001/console).
    However, this group cannot deploy, modify anything on the configuration. In
    the document, I can add ACL lists. But how? The table of permission
    function on the document is not clear. For example, there is no READ and
    WRITE on the table in the Admin Server guide. Please help.
    If I have guest enable on the Admin console. What is the user name and
    password of a gest to use the Admin console?
    Thanks for help.

    Do you want to expose the Admin app on the same network as the managed app?
    If not, just hide (black hole) the IP/port to the admin server.
    If I have guest enable on the Admin console. What is the user name and
    password of a gest to use the Admin console?I don't think guest has a password. Allowing guest means non-auth'd users
    can access it.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "SLC" <[email protected]> wrote in message
    news:3c5dcd78$[email protected]..
    I would like to set up a group which can use Admin console
    (http://ip:7001/console).
    However, this group cannot deploy, modify anything on the configuration.In
    the document, I can add ACL lists. But how? The table of permission
    function on the document is not clear. For example, there is no READ and
    WRITE on the table in the Admin Server guide. Please help.
    If I have guest enable on the Admin console. What is the user name and
    password of a gest to use the Admin console?
    Thanks for help.

  • Using ANT to create config.xml template

    Does anyone have an example on how to use ant to create a config.xml template?

    try this:
    <target
         description="Creates the config.xml file from the config-template.xml file"
         name="parseConfigXML">
         <copy
              file="config-template.xml"
              tofile="config.xml"
              overwrite="true"
         />
         <replace
         file="config.xml"
         value="defaultvalue"
         replacefilterfile="local.configtemplate.properties">
         </replace>
         <antcall target="parseSetDomainEnv" />
    </target>

Maybe you are looking for

  • Most of My Music Won't Sync

    I'm having an issues with Itunes and all of my devices. I have over 12,000 songs in my itunes library. All of these songs will currently play fine in itunes and I can listen to them on my computer - no issues. I used to be able to take any of these s

  • Itunes error message "file cannot be found..." I know the file is somewhere since I find it when I do a system search and it plays, but can't get itunes to see it.  Any help?

    itunes error message "file cannot be found..." I know the file is somewhere since I find it when I do a system search and it plays, but can't get itunes to see it.  Any help?

  • Limit on Select clause

    I am working on Oracle 10g 10.2.0.3 and I cannot select more than 1000 columns using SQL. But I could select more than 1000 columns in Oracle 11g R2. What is the limit on number of columns that can be selected in a select query on Oracle 11g R2? Also

  • Oracle XE Not Shutting Down Cleanly

    Hello all. I've installed an Oracle XE on an Oracle EL 5.5. Everything looks fine, except for the shutdown script. It does startup nicely with system starts, but if I shutdown the OS, the database just crashes, instead of shutting down cleanly. Any i

  • Best monitor for MacBook?

    I want a monitor for my new MacBook but am not going to shell out 1K for apple display with USB 2.0 and that is dated 3 years.  What other options have people had success with? Thanks for your support! Of course, this might be a moot point if Apple g