How to generate Webservices.xml using tool in Sun One App Server?

How to generate Webservices.xml using tool in Sun One App Server?

The build.xml file should be in a directory from where
you are running the asant command.
To resolve the common.xml file not found error,
open your build.xml and check from which location the common.xml file is incuded.
In the sample application it is four directories above
the directory where build.xml is located.
You can copy the common.xml in the current directory and then change the following in your build.xml
<!ENTITY include SYSTEM "../../../../common.xml">
to <!ENTITY include SYSTEM "common.xml">
Hope this helps.
Get back in case you have more issues

Similar Messages

  • How to compile and deploy an ejb into Sun ONE app.server 7.0

    I am new to Sun ONE application server. I Have .java files and deployment descriptor files with me. How should proceed. When i tried to use asant it is saying that build.xml not found. I copied build.xml from some other directory to the current directory. Then it is saying that common.xml not found. Please help.

    The build.xml file should be in a directory from where
    you are running the asant command.
    To resolve the common.xml file not found error,
    open your build.xml and check from which location the common.xml file is incuded.
    In the sample application it is four directories above
    the directory where build.xml is located.
    You can copy the common.xml in the current directory and then change the following in your build.xml
    <!ENTITY include SYSTEM "../../../../common.xml">
    to <!ENTITY include SYSTEM "common.xml">
    Hope this helps.
    Get back in case you have more issues

  • How to develop and deploy Spring framework app in Sun One App Server 8.1

    Can anyone give sample on how to develop and depoly spring framework application in J2EE 1.4 Server or Sun One App Server 8.1 .
    Its very urgently needed for my project to learn and implement spring framework i would very thankful if any one can help.
    Thanking You

    Pretty standard for AS8 to deploy Spring. The only thing to watch for is the security manager, which you'll probably want to turn off.

  • How to create Roles along with Entitlements in Sun One Directory Server?

    i need to create roles in sun one directory server along with entitlements
    please help me in this regard

    Hi Logeshr,
    Is the issue with deploying the webjobsever resolved ? If yes, could you share the work around so that it can help others who has similar issues.
    Most possible causes for the issue could be Problems with  Problems with Parallel build using MSBuild  or
    HeatDirectory failure on TFS with MSBUILD error MSB4166: Child node “3” exited prematurely
    However, as you said it works fine in Visual studio , ensure your CI server has all of the latest updates to MS Build.  If you're not current, you'll get a build error when .targets file processes at the end of the  buildsequence. 
    Shirisha Paderu

  • How do i install an EJB on Sun One App Server

    Lets say i write a generic bean named "Bean Hello" that simply has a property that sets text to say hello.
    Can some one lead the steps on how i install it to the server and then call it within a web page?
    thanks it would help greatly..

    use deploy tool to package it in a jar or ear and deploy it on server.
    Packaging Applications
    Starting the deploytool Utility

  • Creating a connection pool using Oracle 10g, Sun ONE Application Serve 8.1

    Has any one succesfully configured Oracle 10g to work with Sun ONE Application Server 8.1 on Windows 2000 server service pack 4? I am embarking on a new J2EE project and I need to configure it as soon as possible.

    I haven't done it myself on that particular service pack, but I don't see why it should be any different than configuring a connection pool on other vanilla win2k/other OSes.
    Would you please try and let this forum know?

  • Problem calling entity bean from session bean using sun one app server

    I am getting the following exception while calling entity bean(bmp) from stateless session(cmp)bean.
    SEVERE: IOP5012: Some runtime exception ocurred in IIOP: [javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: Unable to create reference org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 1015 completed: No]
    SEVERE: IOP5013: Unable to create reference: [org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 1015 completed: No]
    SEVERE: EJB5029: Exception getting ejb context : [CustomerEJB]
    WARNING: CORE3283: stderr: javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 9998 Maybe; nested exception is:
    WARNING: CORE3283: stderr: org.omg.CORBA.TRANSACTION_ROLLEDBACK: vmcid: 0x2000 minor code: 1806 completed: Maybe
    WARNING: CORE3283: stderr: at
    WARNING: CORE3283: stderr: at
    WARNING: CORE3283: stderr: at javax.rmi.CORBA.Util.wrapException(
    WARNING: CORE3283: stderr:
    My primary key implementation is
    public class CustomerEJBKey implements {
    static final long serialVersionUID = 3206093459760846163L;
    public String customerId;
    public DBConfigBean dbConfigBean;
    * Creates an empty key for Entity Bean: CustomerEJB
    /*public CustomerEJBKey() {
    public CustomerEJBKey(String customerId,DBConfigBean dbConfigBean){
    this.customerId = customerId;
    this.dbConfigBean = dbConfigBean;
    public String getCustomer(){
    return customerId;
    public DBConfigBean getDBConfigBean(){
    return dbConfigBean;
    * Returns true if both keys are equal.
    public boolean equals(Object key) {
    if(key instanceof CustomerEJBKey)
    return this.customerId.equals(((CustomerEJBKey)key).customerId) &&
    return false;
    * Returns the hash code for the key.
    public int hashCode() {
    return customerId.hashCode() + dbConfigBean.hashCode();
    and entity bean method invocation is,
    homeFactory = EJBHomeFactory.getInstance();
    home = (CustomerEJBHome) homeFactory.lookup(CustomerEJBHome.class);
    remote = (CustomerEJB) PortableRemoteObject.narrow( home.findByPrimaryKey(new CustomerEJBKey(customerId,dbBean)), CustomerEJB.class);
    This works fine in Websphere and JBoss. Do you have any idea why I am getting this exception?
    Appreciate your response.

    My suggestion is to put some System.out.println() statements and see if the output helps in any way in debugging. I can't think of anything on the top of my head although I have been working lightly on SunONE.
    By the way, you referred the stateless bean as CMP. Just wanted to tell you that you are wrong. The terms CMP and BMP refer to persistence, which is applied to Database tables and not to stateless/stateful session beans which are written for some specific purpose independent of underlying database.

  • How do you get Sun One Web Server to read white spacing in a url

    Hi guys,
    I am currently using Sun One Web Server and this is the problem that i am currently facing.
    The url which is i am trying to read from the Sun One Web Server is http://test:8000/test/Testing%20A%20B
    The error which i am getting is java.lang.RuntimeException: Illegal character in path
    The reason why this is happening is because the original url is http://test:8000/test/Testing A B It has spacing in between the url. I cannot get rid of the spacing thru the code where its bound to a Content Management System. So the only way is to get the Sun One Web Server to be able to read this kind of url. There are about 300 to 400 of this types of url as they are dynamically generated.
    I was looking at the obj.conf and magnum.conf file to see whether i can manipulate this url to work for this situation. But with no luck.
    Can anyone please let me know if they have came across this problem.

    This is the stack Trace:
    Error 500--Internal Server Error
    java.lang.RuntimeException: Illegal character in path at index 29: /models/Sportwagon/Sportwagon SS V-Series
         at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(
         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(
         at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(
         at org.springframework.web.servlet.DispatcherServlet.doService(
         at org.springframework.web.servlet.FrameworkServlet.processRequest(
         at org.springframework.web.servlet.FrameworkServlet.doGet(
         at javax.servlet.http.HttpServlet.service(
         at javax.servlet.http.HttpServlet.service(
         at weblogic.servlet.internal.StubSecurityHelper$
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(
         at weblogic.servlet.internal.ServletStubImpl.execute(
         at weblogic.servlet.internal.TailFilter.doFilter(
         at weblogic.servlet.internal.FilterChainImpl.doFilter(
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(
         at weblogic.servlet.internal.FilterChainImpl.doFilter(
         at weblogic.servlet.internal.WebAppServletContext$
         at Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(
         at weblogic.servlet.internal.WebAppServletContext.execute(
    Caused by: Illegal character in path at index 29: /models/Sportwagon/Sportwagon SS V-Series
         ... 26 more
    This is the path which was access by me using Sun One Web Server: http://poll:8006/models/Sportwagon/Sportwagon%20SS%20V-Series
    As you can see that Sun One Web Server dont like spacing between url.
    Does anyone know how to fix this problem thru configuration in Sun One Web Server?

  • Sun ONE Application Server Assembly Tool

    I have downloded and installed the above assembly tool.
    This tool looks like the J2EE RI assembly tool, but it does not behave in the same way.
    I have encountered 3 issues so far, that I need to get solve, if I want to continue.
    1. In the RI tool, you can see the server on the tree at the left side. should it be the same with the AppServer7?, if yes, how do I configure this.
    2. In the RI tool, The application could recognize all created packages from a specified root, so any created EJB could have recognized classes that are not included in the EJB jar file. How do I configure the assembly tool of the AppServer7 to have the same functionality?
    3. In the RI tool, I can create a war file that contains an applet with swing classes. this war is downloaded to a client machine. if I want the client machine to have the ability to download all the files, I need to move them from the classes node to the specified package starcture in the add file window. this functionality is possible in the RI tool, but not in the AppServer7 tool. am I doing something wrong?

    Yes, Sun One App Server 7 is the new name for it. I think there are improvements in this version over the previous iplanet.

  • How to deploy a portlet application on Sun One Portal Server?

    Hi all,
    I have developed a JSR168 helloworld portlet.
    how will i deploy that war file to Sun One Portal Server ?
    Thanks & Regards

    Thanks Shay! I was able to deploy the application per your instructions.
    [10:41:53 AM] Deploying Application...
    [10:42:10 AM] [Deployer:149192]Operation 'deploy' on application 'mobilesolution2 [Version=V2.0]' is in progress on 'AdminServer'
    [10:42:13 AM] [Deployer:149194]Operation 'deploy' on application 'mobilesolution2 [Version=V2.0]' has succeeded on 'AdminServer'
    [10:42:13 AM] Application Deployed Successfully.
    [10:42:13 AM] Elapsed time for deployment: 32 seconds
    [10:42:13 AM] ---- Deployment finished. ----

  • How do we create generate webservices.xml file?

    Hi all,
    Im new to webservices...
    im able to generate mapping.xml file using wsgenerate
    but i dont know how do we generate webservices.xml.
    Im waiting for ur reply.

    You use the web interface of xmlsidecar generator made by Johannes Henseler and the push the button there "generate". Copy paste that into a plain text file and then change tex extension from txt to xml. That's how you do a sidecar.xml the easy way.
    Afterwards, yo've got to import "multiple files" (or "many files"... my DPS is a Spanish one) from Folio Builder.
    If the folder are structured properly, folio builder will start swallowing the data of sidecar and uploading the articles.
    Right now, while posting this, my pc is doing that with about one hundred articles. As happy and busy as a beaver in heat
    Gustavo (Posting from Madrid)

  • How to generate multiple sheets using xml publisher

    how to generate multiple sheets using xml publisher.

  • How to generate an XML file for an animation of IK armature

    Can someone please tell me how to generate an XML file for an animation of IK armature.
    I have a 5 keyframe/16 frame animation of a human character made up of a series of moveiclip symbols that is animated with an IK armature.  I need the XML information from the animation. 
    When I go to Commands > Export Motion XML I get the error message "There is more than one object on frame 1" and then nothing happens.
    Thank you,

    I hope that's not the case.  I want to write to adobe about it.  I think it's a great feature and it functions really well even though it is not a very developed IK tool.  My biggest issue with it is ouput options and integration with motion tweens.
    I have seen a lot of examples of animators using it online, just no one talked about output.  I just feel it hasn't been developed.  It can generate a sprite sheet but only for a single pose frame of the animation, and not all the key frames or pose tweens.  I find that functionality quite odd, as if adobe just forgot about IK when added in sprite sheets, etc. and the reason it half works is just an accident.

  • How to generate orm.xml

    I would like to know how to generate orm.xml, the mapping file for JPA. I am using jdev
    Thanks in advance

    There is not yet any built in support for this.
    What I have been doing is configuring JDev to understand the orm.xml schema so that when editing the file with JDeveloper it can assist me on the available elements and attributes as well as a default structure.
    JDeveloper :: Tools -> Preferences -> XML Schema -> Add
    Now when you wish to create an orm XML instance document in your project you can use:
    New -> General -> XML -> XML Document from Schema
    Select "Use Registered Schema"
    Select the ORM target namespace:
    This will give you a basic orm.xml file properly configured which you can then use to define your mappings.

  • How to generate nested xml from a resultset

    there is a table which contains two field:key and fatherkey.
    like this:
    key fatherkey
    node1 root
    node2 node1
    node3 node2
    a tree can be builded from the table by recursion of key and fatherkey.
    now I want to use this table to generate a xml buffer.
    like this:
    if oracle special sql --"Connect by" can be used ,it is so easy.
    but I can only use ansi sql.
    how to generate the xml?

    hehe, I solved it by JDom!
    source code is :
    public StringBuffer loadInitResource()
    Vector theOrphans = new Vector();
    StringBuffer theInitRes = new StringBuffer();
    Element root = new Element("NODES");
    ResultSete m_rs = stmt.executeQuery(xsql);
    Element theNode = new Element("NODE");
    Element theFLD = new Element("ID");
    theFLD = new Element("SID");
    else if(x_setFatherRes(theNode, root))
    Element theNode;
    int nIndex;
    boolean isDo = false;
    System.out.println("find the orphan!");
    isDo = false;
    for(nIndex = 0;nIndex < theOrphans.size();nIndex++)
    theNode = (Element) theOrphans.get(nIndex);
    if(x_setFatherRes(theNode, root))
    isDo = true;
    System.out.println("found the orphan!");
    System.out.println("some nodes could not be loaded!");
    //OutputStream out=new FileOutputStream("e:/XMLFile.xml");
    Document doc = new Document(root);
    XMLOutputter outputter = new XMLOutputter();
    theInitRes = new StringBuffer(outputter.outputString(doc));
    catch(Exception e)
    m_error += e.toString() ;
    return theInitRes;
    private boolean x_setFatherRes(Element theSon,Element theFather)
    boolean isOK = false;
    String sFatherSID = theFather.getChildText("ID");
    if(sFatherSID != null)
    isOK = true;
    return isOK;
    Iterator iterator = theFather.getChildren().iterator();
    Element theFather2 = (Element);
    isOK = x_setFatherRes(theSon,theFather2);
    return isOK;
    enjoy it!

Maybe you are looking for