How to compile xml

i write xml file in Eclipse and compile it its giving errors.

[list=1]
[*]Download the Oracle XDK for Java. The latest release is 9.2.0.3 Production.
[*]Create a library in JDeveloper9i with a name like "Oracle XML Parser 9.2.0.3" and with C:\xdk9203\xdk\lib\xmlparserv2.jar in the library's path.
[*]Add the new "Oracle XML Parser 9.2.0.3" to your project's library list.
[list]
and you should be in business.

Similar Messages

  • Pls help me on how to compile servlet

    pls i need the help of some kind one to assist me on how to compile and deploy servlet .I'm new to javaEE & am using the javaEE tutorial from sun site.In the first example servlet in d book, after compiling and deploying the greetingServlet and responseServlet and deployed it ,i was told to include a welcome jsp file in d war file. all these i have done but the server always complain of not been able locate d greetingServlet.
    i use the netbeans IDE and sun java application server.The greetingServlet & responseServlet codes are these; Pls I don't know what to put in the jsp file
    package servlets;
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * This is a simple example of an HTTP Servlet.  It responds to the GET
    * method of the HTTP protocol.
    public class GreetingServlet extends HttpServlet {
        public void doGet(
            HttpServletRequest request,
            HttpServletResponse response) throws ServletException, IOException {
            response.setContentType("text/html");
            response.setBufferSize(8192);
            PrintWriter out = response.getWriter();
            // then write the data of the response
            out.println("<html>" + "<head><title>Hello</title></head>");
            // then write the data of the response
            out.println(
                    "<body  bgcolor=\"#ffffff\">"
                    + "<img src=\"duke.waving.gif\" alt=\"Duke waving\">"
                    + "<h2>Hello, my name is Duke. What's yours?</h2>"
                    + "<form method=\"get\">"
                    + "<input type=\"text\" name=\"username\" size=\"25\">"
                    + "<p></p>" + "<input type=\"submit\" value=\"Submit\">"
                    + "<input type=\"reset\" value=\"Reset\">" + "</form>");
            String username = request.getParameter("username");
            if ((username != null) && (username.length() > 0)) {
                RequestDispatcher dispatcher = getServletContext()
                                                   .getRequestDispatcher(
                            "/response");
                if (dispatcher != null) {
                    dispatcher.include(request, response);
            out.println("</body></html>");
            out.close();
        public String getServletInfo() {
            return "The Hello servlet says hello.";
    package servlets;
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * This is a simple example of an HTTP Servlet.  It responds to the GET
    * method of the HTTP protocol.
    public class ResponseServlet extends HttpServlet {
        public void doGet(
            HttpServletRequest request,
            HttpServletResponse response) throws ServletException, IOException {
            PrintWriter out = response.getWriter();
            // then write the data of the response
            String username = request.getParameter("username");
            if ((username != null) && (username.length() > 0)) {
                out.println("<h2>Hello, " + username + "!</h2>");
        public String getServletInfo() {
            return "The Response servlet says hello.";
    }

    Here is what you will need to do.
    1. Compile the servlets by performing the following steps
    1.1 Open a command line in the directory where your servlets are located.
    1.2 Type the following commands
    1.2.1 javac GreetingServlet.java
    1.2.2 javac ResponseServlet.java
    Then you should see the .class files for these classes appear in the directory .
    Next you will put these class files in the WEB-INF/classes directory.
    Once you have done that you will edit your web.xml in the WEB-INF directory to include the two servlets. That code will look something like this
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
         <servlet>
              <servlet-name>GreetingServlet</servlet-name>
              <servlet-class>GreetingServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>GreetingServlet</servlet-name>
              <url-pattern>/GreetingServlet</url-pattern>
         </servlet-mapping>
         <servlet>
              <servlet-name>ResponseServlet</servlet-name>
              <servlet-class>ResponseServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>ResponseServlet</servlet-name>
              <url-pattern>/ResponseServlet</url-pattern>
         </servlet-mapping>
    </web-app>Once you have done this save the web.xml file and recompile the war file by following these steps
    1 open a commandline in the root directory where the servlets are
    2 type the following command jar -cvf warFileName.war .
    *Note the space and period at the end of the command are not a mistake the space . tells the jar tool to complie the war from the directory you are current in.
    Once this command is successfully ran you should see a .war file appear in the directory you are in. Then simply put the war file in your deploy directory of your server and you are finished.
    alternatly if you are just doing this for yourself to learn servlets and this is not going to be deployed anywhere then I would just use the W3C's Jigsaw server which does all the work for you all you have to do is compile the servlets and put the class files in the servlets directory and you are done.

  • How to compile Java files using Ant in Eclipse

    Hi All ,
    I would like to compile all Java files using Ant in Eclipse.Since am very new to Ant and Eclipse can someone help me to create a build.xml file and let me know how to compile all the java files.
    For ex , I have placed my java files inside the path C:\HEC\Terab.Initially the Terab folder holds 7 jar files which i had decompiled using JD compiler and placed the unzipped 7 folders (which contains the java files ).Now i have imported the HEC project into Eclipse using New ->Project ->Java Project.after importig it throwed me an error saying missing jar files.again i copied the jar files and placed inside Terab folder with other 7 folder.
    Now How i can compile the java files and convert in to class files.Then after compiling the files i will again need to jar all the 7 folder.
    Please tell me the steps i need to follow.How to write an build.xml file ? where i should keep it ? only one build.xml file is enough or should i write 7 build.xml file for each folder ? Please help me out...
    Thanks & Regards
    Kar1983

    put it another way, what I am trying to do is to compile David Brackeen's ch 18 code from his book. The java sourse files can be downloaded here:
    http://www.brackeen.com/javagamebook/
    my question is that how would I complie all of these file so that I can get the program in ch18src\src\com\brackeen\javagamebook\test\ to run?

  • How to compile my own applications

    Hello,
    I have been working through a book on J2ee, and getting on very well, apart from the fact that I cant create my own applications because I dont know how to compile them!!!
    Im used to just typing javac classsname.java, and it all gets done - I've tried this on my J2ee source files and I keep getting errors becasue the J2EE library classes I reference cant be found.
    I have been doing the exercises and examples that came with the book with no trouble, using asant to compile and build programs. I can use asant in this way with no problems, but that is becaause of a ready-cooked build.xml file and the works.
    Is asant the only way to compile J2EE apps, and if it is how do I go about using it for my own applications? Does it mean building my own build.xml file for each application I writeand then using asant as in the case of the examples?
    can javac not be used on its own to compile the application?
    Thanks for the feedback.

    Im used to just typing javac classsname.java, and it
    all gets done - I've tried this on my J2ee source
    files and I keep getting errors becasue the J2EE
    library classes I reference cant be found.J2EE library classes are in $J2EE_HOME/lib/j2ee.jar
    I have been doing the exercises and examples that came
    with the book with no trouble, using asant to compile
    and build programs. I can use asant in this way with
    no problems, but that is becaause of a ready-cooked
    build.xml file and the works.
    Is asant the only way to compile J2EE apps, and if it
    is how do I go about using it for my own applications?
    Does it mean building my own build.xml file for each
    application I writeand then using asant as in the case
    of the examples?
    can javac not be used on its own to compile the
    application?asant comes with predefined ant targets which has been found very useful. Check out the J2EE tutorial (http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html) and the J2EE-SDK samples bundle. You can also use ant and write your own targets. Check out J2EE BLuePrints applications (java.sun.com/blueprints) or the BLuePrints solutions catalog (https://bpcatalog.dev.java.net/). Hope this helps

  • How to compile jsp project on the plateform of Myeclipse and jboss

    hi
    I m new in jboss application server with myeclipse plateform.
    im unable to solve this error.which are occured doring the starting of server in my eclipse.
    the error is:-----
    13:12:41,484 INFO [Server] Starting JBoss (MX MicroKernel)...
    13:12:41,500 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
    13:12:41,515 INFO [Server] Home Dir: C:\Program Files\jboss-4.0.4.GA
    13:12:41,515 INFO [Server] Home URL: file:/C:/Program Files/jboss-4.0.4.GA/
    13:12:41,515 INFO [Server] Patch URL: null
    13:12:41,515 INFO [Server] Server Name: default
    13:12:41,515 INFO [Server] Server Home Dir: C:\Program Files\jboss-4.0.4.GA\server\default
    13:12:41,515 INFO [Server] Server Home URL: file:/C:/Program Files/jboss-4.0.4.GA/server/default/
    13:12:41,531 INFO [Server] Server Log Dir: C:\Program Files\jboss-4.0.4.GA\server\default\log
    13:12:41,531 INFO [Server] Server Temp Dir: C:\Program Files\jboss-4.0.4.GA\server\default\tmp
    13:12:41,531 INFO [Server] Root Deployment Filename: jboss-service.xml
    13:12:44,015 INFO [ServerInfo] Java version: 1.4.2_05,Sun Microsystems Inc.
    13:12:44,015 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_05-b04,Sun Microsystems Inc.
    13:12:44,015 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
    13:12:45,750 INFO [Server] Core system initialized
    13:12:55,515 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
    13:13:09,218 INFO [WebService] Using RMI server codebase: http://shabrez:8083/
    13:13:19,578 INFO [MailService] Mail Service bound to java:/Mail
    13:13:20,484 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
    13:13:20,718 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher
    13:13:25,109 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000D8000102000000000E3139322E3136382E302E313331000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000005000000000000000010000000000000024000000200000007E00000000000000010000000E3139322E3136382E302E313331000DC9000000000000000000000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
    13:13:25,812 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000D8000102000000000E3139322E3136382E302E313331000DC8000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000005000000000000000010000000000000024000000200000007E00000000000000010000000E3139322E3136382E302E313331000DC9000000000000000000000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
    13:13:27,875 INFO [Embedded] Catalina naming disabled
    13:13:28,140 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
    13:13:28,140 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
    13:13:29,390 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
    13:13:29,390 INFO [Catalina] Initialization processed in 1250 ms
    13:13:29,406 INFO [StandardService] Starting service jboss.web
    13:13:29,406 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17
    13:13:29,562 INFO [StandardHost] XML validation disabled
    13:13:29,640 INFO [Catalina] Server startup in 250 ms
    13:13:30,671 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
    13:13:31,906 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
    13:13:33,515 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
    13:13:34,015 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp13610jbossws-exp.war/
    13:13:34,531 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
    13:13:35,359 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
    13:13:39,453 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
    13:13:39,593 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
    13:13:39,687 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
    13:13:39,781 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
    13:13:39,906 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
    13:13:40,031 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
    13:13:44,234 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:name=DefaultDS,service=DataSourceBinding' to JNDI name 'java:DefaultDS'
    13:13:45,640 INFO [A] Bound to JNDI name: queue/A
    13:13:45,656 INFO Bound to JNDI name: queue/B
    13:13:45,656 INFO [C] Bound to JNDI name: queue/C
    13:13:45,656 INFO [D] Bound to JNDI name: queue/D
    13:13:45,656 INFO [ex] Bound to JNDI name: queue/ex
    13:13:45,718 INFO [testTopic] Bound to JNDI name: topic/testTopic
    13:13:45,734 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
    13:13:45,734 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
    13:13:45,750 INFO [testQueue] Bound to JNDI name: queue/testQueue
    13:13:46,000 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
    13:13:46,140 INFO [DLQ] Bound to JNDI name: queue/DLQ
    13:13:46,609 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding' to JNDI name 'java:JmsXA'
    13:13:46,750 ERROR [MainDeployer] Could not create deployment: file:/C:/Program Files/jboss-4.0.4.GA/server/default/deploy/helloword.war/
    java.lang.UnsupportedClassVersionError: com/jbosstest/testJboss (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at org.jboss.ws.server.WebServiceDeployerJSE.isWebserviceDeployment(WebServiceDeployerJSE.java:151)
         at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:101)
         at org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJSE.java:66)
         at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
         at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy41.create(Unknown Source)
         at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
         at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy6.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:417)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy4.start(Unknown Source)
         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy5.deploy(Unknown Source)
         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
         at org.jboss.Main.boot(Main.java:200)
         at org.jboss.Main$1.run(Main.java:464)
         at java.lang.Thread.run(Thread.java:534)
    13:13:47,000 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
    13:13:47,625 INFO [TomcatDeployer] deploy, ctxPath=/testproject, warUrl=.../deploy/testproject.war/
    13:13:48,578 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
    --- Incompletely deployed packages ---
    org.jboss.deployment.DeploymentInfo@abba8a12 { url=file:/C:/Program Files/jboss-4.0.4.GA/server/default/deploy/helloword.war/ }
    deployer: MBeanProxyExt[jboss.web:service=WebServer]
    status: Deployment FAILED reason: com/jbosstest/testJboss (Unsupported major.minor version 49.0)
    state: FAILED
    watch: file:/C:/Program Files/jboss-4.0.4.GA/server/default/deploy/helloword.war/WEB-INF/web.xml
    altDD: null
    lastDeployed: 1148111026703
    lastModified: 1147940958000
    mbeans:
    13:13:48,796 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
    13:13:49,125 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
    13:13:49,312 INFO [JkMain] Jk running ID=0 time=0/328 config=null
    13:13:49,328 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 1m:7s:797ms
    plz send me the solution of this error.
    Thanks.

    I m new in jboss application server with myeclipse plateform.
    im unable to solve this error.which are occured doring the starting of server in my eclipse.
    How to compile jsp project on the plateform of Myeclipse and jboss
    hi :-) this is not eclipse forum and not that sure about your problem but i'll try to answer :-)
    i'm not sure how you create your war but there something wrong with your web.xml. kindly check it :-)
    by d way, you can deploy your project in my-eclipse by
    - right click on the project then select my-eclipse > Add and Remove Project Deployment's
    - a new window will open and you can now configure how you deploy your project :-)
    other alternative edit your jboss-service.xml then put something like this
    <attribute name="URLs">deploy/, file:/D:/workspace/deploy</attribute>
    (note, change the path according to your needs)
    regards,

  • How to compile and deploy JAX-WS web service from commandline (!) ?

    I have read a couple of tutorials about how to create and deploy web services with
    certain IDEs (e.g. Eclipse).
    But I found no guide on how to compile a java web service source from command line !!
    Lets say I have a java source class with annotations inside (like "@WebMethod").
    How do I generate with the built-in j2ee v5 tools from a web service from command line and deploy it e.g. to TomCat or JBoss ?
    Is there somewhere such a simple step-by-step intro?
    Thx
    Peter

    You can download JWSDP 2.0 from sun and install it. Under jaxws (the installed directory) you can find sample directory which has build.xml can be run from command prompt using ant. if you want in detail means go through the build.xml and use wsgen.bat or wsimport under the bin directory of jaxws
    Edited by: Muyallu_Bala on Apr 14, 2008 5:49 AM

  • How to compile in turkish!!!!

    how to compile a flex project in turkish...
    my standard copiler is en_US ...
    now i want to compile in turkish...
    can  any one help me

    Unfortunately, although Adobe provides 16 localizations of the Flex SDK, Turkish isn't one of them. But since all the .properties files for the Flex framework are opensource, if you are fluent in Turkish you could localize them yourself.
    For example, the .properties files for the MX components are in frameworks/projects/framework/bundles. Create a copy of the en_US folder and make it a Turkish folder... I'm not sure what the proper language and country code are, but you probably know. Then, take a look at how the Ant file at frameworks/projects/framework/build.xml compiles the resource bundle SWCs for the various 16 locales that we do support, and just add one more.
    You'll have to do this for each bundle-using SWC in frameworks/projects.
    Gordon Smith
    Adobe Flex SDK Team

  • JDeveloper build vs ant-sca-compile.xml

    Hi everyone,
    I have a composite containing a Spring component. The component can be compiled and deployed in JDeveloper and works fine. However, when I try to compile the composite with ant-sca-compile.xml Ant script (from my JDeveloper - Build JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1) for automated testing the build fails on
    Source port type for "MyTestService" does not match target port type for "MyTestSpring"
    Any idea how to fix it? The Spring component (its inteface) is generated from the published WSDL and seems it is the cause of the problem as composites without Spring can be compiled with that script.
    Thanks,
    Jan

    Hi Manish,
    Compilation of Requester and Provider ABCS takes longer time than other AIA components.So check the Xms and Xmx values in ant-sca-compile.xml and check whether it is matching with your OS environment or try setting at a higher value and then try deploying again.
    Is it building properly or is getting stuck at build level only?
    If its issue with deployment then check $FM_HOME/user_projects/domains/[domain_name]/servers/soa_server1/logs/soa-server1-diagnostic.log.
    Rgds,
    Mandrita.

  • How to compile only prism-es2 native on windows...

    Hi,
    I only desire to compile the JavaFX prism-es2 native for windows.
    (Because the prism-es2.dll is not included in JDK 8).
    The information I have from OpenJFX is:
    https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX
    (Not very usefull).
    https://wiki.openjdk.java.net/display/Nashorn/Building+Nashorn
    http://hg.openjdk.java.net/jdk8/build/raw-file/tip/README-builds.html
    I do not wish to recompile the JDK 8 in totality !!!!!!
    Only the part Prism-es2 native... How I can do that ???
    I had taken the source code from:
    http://hg.openjdk.java.net/openjfx/8/master/rt
    Thank you ....

    -How to compile OpenJFX ?
    I try several ways (JDK1.6, JDK1.7, ...) to compile and all time,
    I receive a lot of errors.
    (Missing com.sun.javafx.font,
      I do not found these packages: com.sun.javafx.font and com.sun.javafx.text.
          (possibly auto-generated)
    And the use of ant with: -Dbuild.compiler=javac1.7 change absolutely nothing...
    =>This is how finally I compile sucessfully. (After one week of different tests !!!)
    +First, I follow the instructions of:
      https://wikis.oracle.com/display/OpenJDK/Building+OpenJFX
      http://hg.openjdk.java.net/jdk7/build/raw-file/tip/README-builds.html#windows
    Take the source code:
      http://hg.openjdk.java.net/openjfx/8/master
      http://hg.openjdk.java.net/openjfx/8/master/rt
      http://hg.openjdk.java.net/openjfx/8/master/tests
    +From OpenJDK)
    -Basic Windows Check List:    (I follow all the instructions).
    1. Install the CYGWIN product.                          <--Done (The 64 bits version)
    2. Install the Bootstrap JDK, set ALT_BOOTDIR.          <--Done (JDK 1.8)
    3. Optional Import JDK, set ALT_JDK_IMPORT_PATH.    <--Not done(Not necessary for us)
    4. Install the Microsoft Visual Studio Compilers).  <--Done
       Visual Studio 2010 Express (Visual C++/C) installed.
       Windows SDK 7.1 installed (To build 64 bits). ==>WindowsSdkDir added.
       VS100COMNTOOLS is defined.
    5. Setup all environment variables for compilers (see compilers).   <--Done (64 bits)
        ...\Common7\Tools\vsvars32.bat not used because
            ...\VC\bin\amd64\vcvars64.bat is used for 64 bits.
       We set all manually for us)
        set CYGWIN=C:\ProgramFiles\cygwin64\bin
        set VSINSTALLDIR=C:\ProgramFiles(x86)\Microsoft_Visual_Studio10.0
        set WindowsSdkDir=C:\ProgramFiles\Microsoft_SDKs\Windows\v7.1
        set PATH=%VSINSTALLDIR%\vc\bin\amd64;%VSINSTALLDIR%\Common7\IDE;%WindowsSdkDir%\bin;%CYGWIN%;%PATH%
        set INCLUDE=%VSINSTALLDIR%\vc\include;%WindowsSdkDir%\include
        set LIB=%VSINSTALLDIR%\vc\lib\amd64;%WindowsSdkDir%\lib\x64
    6. Install Microsoft DirectX SDK.                         <--Done. (June 2010 version)
       (From: http://www.microsoft.com/en-ca/download/details.aspx?id=6812)
       set DXSDK_DIR=C:\ProgramFiles(x86)\MicrosoftDirectX_SDK(June2010)
       set INCLUDE=%INCLUDE%;%DXSDK_DIR%\Include;
       set LIB=%LIB%;%DXSDK_DIR%\Lib\x64;
    7. Install Ant 1.7.1 or newer, make sure it is in your PATH and set ANT_HOME. <--Done.
       (The version 1.9.1)
    And also)
      -So it's important that the Visual Studio paths in PATH preceed the CYGWIN path /usr/bin.
          (due to link.exe)        <--Done
      -And for the: MSVCR100.DLL   <--Done
       set ALT_MSVCRNN_DLL_PATH=%VSINSTALLDIR%\Common7\Packages\Debugger\X64 (This is the only place found)
       set LIB=%LIB%;%ALT_MSVCRNN_DLL_PATH%;
    +From OpenJFX)
    I follow all the instructions...
    But for antlr, I use the version from: http://www.antlr3.org/download/
    -Change inside build-src\genVSproperties.bat
    to include my zzz_batch1\c_settings1.bat
    c_settings1.bat)
    REM ------------------------------------------------------------------------
    REM PATCH ZZZ....Visual Studio 2010...
    Rem Must be called by master\build-src\genVSproperties.bat
    REM Result is inside vs.properties
    REM No .NET\Framework...
    REM These lines will be installation-dependent.
    set CYGWIN=C:\ProgramFiles\cygwin64\bin
    set VSINSTALLDIR=C:\ProgramFiles(x86)\Microsoft_Visual_Studio10.0
    set WindowsSdkDir=C:\ProgramFiles\Microsoft_SDKs\Windows\v7.1
    set DXSDK=C:\ProgramFiles(x86)\MicrosoftDirectX_SDK(June2010)
    set ALT_MSVCRNN_DLL_PATH=%VSINSTALLDIR%\Common7\Packages\Debugger\X64
    REM The following should be largely installation-independent.
    set VCINSTALLDIR=%VSINSTALLDIR%\VC
    REM
    set INCLUDE=%VCINSTALLDIR%\include;%WindowsSdkDir%\include;%DXSDK%\Include;%INCLUDE%
    set LIB=%VCINSTALLDIR%\lib\amd64;%WindowsSdkDir%\lib\x64;%DXSDK%\Lib\x64;%ALT_MSVCRNN_DLL_PATH%;%LIB%
    set LIBPATH=%VCINSTALLDIR%\lib;%LIBPATH%
    REM
    set DEVENVDIR=%VSINSTALLDIR%\Common7\IDE
    set DEVENVCMD=%DEVENVDIR%\VCExpress.exe
    REM
    set PATH=%VCINSTALLDIR%\bin\amd64;%VSINSTALLDIR%\Common7\IDE;%WindowsSdkDir%\bin;%CYGWIN%;%PATH%
    REM echo "%DEVENVDIR%" %DEVENVDIR%
    REM ------------------------------------------------------------------------
    genVSproperties.bat)
    if not exist "%DEVENVCMD%" set DEVENVCMD=%DEVENVDIR%\VCExpress.exe
    REM ZZZ Patch...
    call ..\zzz_batch1\c_settings1.bat
    REM Echo out a properties file
    Now I receive a lot of errors at the compilation:
    jar:
        [mkdir] Created dir: C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\javafx-ui-quantum\build\classes
        [javac] Compiling 43 source files to C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\javafx-ui-quantum\build\classes
        [javac] C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\javafx-ui-quantum\src\com\sun\javafx\tk\quantum\SceneState.java:49: error: constructor PresentableState in class PresentableState cannot be applied to given types;
        [javac]         super();
        [javac]         ^
        [javac]   required: View
    etc ...
    After search, I found that the compilation process, use the file:
       C:\ProgramFiles\Java\jdk1.8.0\jre\lib\ext\jfxrt.jar
       I rename it: jfxrt.jarXXX
       (I don't know how this jar is included after some searchs).
       After the C:\zgroup1\userbase1\javafx1\open-jfx\master\artifacts\sdk\rt\lib\ext\jfxrt.jar
       causes the same errors. I create an empty jar named jfxrt.jar.
       Now I can recompile all, (After a clean)
       I clean all, I recompile but I have the another errors.
    I change the rt\build.xml:
           <condition property="include.ogl">
              <istrue value="${isWindows}"/>
            </condition>
         <!--
            Build targets...
          -->
        <target name="jar" depends="init">
            <ant antfile="${rt.root.dir}/javafx-accessible/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-common/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-logging/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/glass/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-beans/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-util-converter/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-anim/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-geom/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/pisces/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/decora-compiler/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/decora-runtime/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-sg-common/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-ui-common/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-concurrent/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/prism-util/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/prism-common/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-ui-quantum/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-sg-prism/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-embed-swing/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-ui-controls/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-ui-charts/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/decora-prism/build.xml" target="jar" inheritAll="false"/>
            <antcall target="jar-decora-d3d"/>
            <antcall target="jar-decora-es2"/>
            <ant antfile="${rt.root.dir}/decora-jsw/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/decora-prism-sw/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/decora-prism-ps/build.xml" target="jar" inheritAll="false"/>
            <antcall target="jar-decora-sse"/>
            <ant antfile="${rt.root.dir}/prism-util/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/prism-common/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/prism-j2d/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/prism-ps/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/prism-null/build.xml" target="jar" inheritAll="false"/>
            <antcall target="jar-prism-sw"/>
            <antcall target="jar-prism-d3d"/>
            <antcall target="jar-prism-es2-all"/>
            <ant antfile="${rt.root.dir}/javafx-beans-dt/build.xml" target="jar" inheritAll="false"/>
            <ant antfile="${rt.root.dir}/javafx-fxml/build.xml" target="jar" inheritAll="false"/>
            <antcall target="jar-javafx-android"/>
            <antcall target="jar-javafx-embed-swt"/>
            <ant antfile="${rt.root.dir}/javafx-builders/build.xml" target="jar" inheritAll="false"/>
        </target>
    I recompile and now:
    jar:
        [mkdir] Created dir: C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\javafx-ui-common\build\classes
        [javac] Compiling 471 source files to C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\javafx-ui-common\build\classes
        [javac] C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\javafx-ui-common\src\com\sun\webkit\dom\JSObject.java:30: error: cannot find symbol
        [javac] import netscape.javascript.JSException;
        [javac]                           ^
        [javac]   symbol:   class JSException
    --->Compile webview (and webview needs another packages, circular problems)...
    Recompile all is not really possible due to intersecting packages...
    I change rt\glass\glass\build.xml because missing)
        <property name="jfx.accessible.dir" value="${rt.dist.root.dir}/javafx-accessible"/>
        <property name="jfx.accessible.jar" value="${jfx.accessible.dir}/dist/javafx-accessible.jar"/>
    Now I recompile, I have errors but now I understand something.
    When master\artifacts\sdk\rt\lib\ext\jfxrt.jar is the empty version, I compile at a certain point.
    I copy the C:\ProgramFiles\Java\jdk1.8.0\jre\lib\ext\jfxrt.jar to master\artifacts\sdk\rt\lib\ext
    and I able to go to another point. When errors, I take the empty version and alternatively I pass
    from the empty to full version.
    Finally I compile all and:
    dist:
         [echo] Creating merged openjfxrt.jar file
        [mkdir] Created dir: C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\dist\lib
          [jar] Building jar: C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\dist\lib\openjfxrt.jar
         [echo] Copying binaries
        [mkdir] Created dir: C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\dist\bin
         [copy] Copying 1 file to C:\zgroup1\userbase1\javafx1\open-jfx\master\rt\dist\bin
    BUILD SUCCESSFUL
    I have my ES2 (Decora,Prism) part compiled with prism-es2.dll inside prism-es2-native.jar
    Now I will test all !!!

  • How to compile packages

    hi,
    i have a package structure
    root
    xml
    xmltest.java
    xmlans.java
    tts
    ttstxt.java
    ttsans.java
    ui
    uitxt.java
    uians.java
    sampletest.java
    how to compile all the above packages with a single javac.
    javac -d ????

    hi,
    i have a package structure
    root
    xml
    xmltest.java
    xmlans.java
    tts
    ttstxt.java
    ttsans.java
    ui
    uitxt.java
    uians.java
    ampletest.java
    how to compile all the above packages with a single
    javac.
    javac -d ????It's not quite enough (or at least the right) information. Are you saying that you have classes xmltest and xmlans in package xml? And ttstxt and ttsans in package tts? And uitxt and uians in package tts? and sampletest in which package?
    Java coding conventions say that class names should start with capitalized letters. Following conventions will make getting help easier.

  • HELP!!!! How to save xml file!!!Anyone can help???

    Hi,
    It is urgent for me to know how to save xml file. I use VC++6.0, Oracle xdk 9.0.0.0.0 or 9.0.0.0.0Abeta under windows98.
    It is OK to compile the program with print() method. But system will tell me there is illegal operation when I run it. If I delete the line with print(), the result will be normal.
    in class node, there is two functions
    void print(ostream *out = &cout, uword level = 0,uword step = 4);
    void print(DOMString buffer, size_t bufsize, uword level = 0, uword step = 4);
    Is there anyone who may tell me how to use them? to write back specific xml file?
    Without print(), I can not save the xml file...It seems in Oracle xdk9.0.0.0.0, there is no obvious function to save the file.(or because I am a new comer , not familier with DOM)
    Can anyone tell me how to save xml file? or just paste an example! It is very a little urgent to me...Hope you give me some ideas....
    Many thanks in advance!!!!
    yours,
    Fiena

    Hi,
    goto sxmb_adm > intergration engine configration > specific configration
    go in edit mode > new entry
    choose
    Category -> IDoc
    Parameters -> XML_CONVERSION
    current value -> 2
    Regards,
    Manisha

  • How to refresh XML file  from my client machine

    Hai All
    I have temp.XML and temp.XSL template in our server machine.
    when i give a print from client machine first time it gives the record,and next time it did not get refresh.Always it shows the previous records in the browser.But when i go into the server machine and click on temp.xml,it shows the current record(correct records)
    How to refresh XML file  from my client machine?
    Regards
    Dhina

    You never delete a Time Machine backup by dragging it to the Trash. You are supposed to use the TM application to manage the backups. What you will need to do now is to simply erase the drive using Disk Utility.

  • How to send XML using UTL_HTTP

    I am trying to workout how to send XML data to a webserver using UTL_HTTP but am not getting any reply
    I need to submit the following XML document to a server "http://api.fastsms.co.uk/api/xmlapi.php"  Their instructions are "The XML Document should be posted unencoded, with a UTF-8 character set as parameter 'xml'"
    If I submit the following XML on their test form
    <?xml version="1.0"?>
    <apirequest version="1">
    <user>
      <username>**USER**</username>
      <password>**PASSWORD**</password>
    </user>
    <application>
      <name>Example Application</name>
      <version>1.0</version>
    </application>
    <inboundcheck lastid="10711399"/>
    </apirequest>
    I get an XML response back with the messages in my inbox. 
    This is the code I am trying to use to accomplish the same from PL/SQL : I know a response is coming back as there is header information - just no content.  What am I doing wrong ?
      l_xml VARCHAR2(5000);
      req utl_http.req;
      resp utl_http.resp;
      header_name VARCHAR2(256); -- Response header name
      header_value VARCHAR2(1024); -- Response header value
      response_text VARCHAR2(4000); -- Response body
      l_url VARCHAR2(100);
    BEGIN
      l_xml := 'xml=<?xml version="1.0"?>';
      l_xml := '<apirequest version="1">';
      l_xml := '<user>';
      l_xml := '<username>**USER**</username>';
      l_xml := '<password>**PASSWORD**</password>';
      l_xml := '</user>';
      l_xml := '<application>';
      l_xml := '<name>Example Application</name>';
      l_xml := '<version>1.0</version>';
      l_xml := '</application>';
      l_xml := '<inboundcheck lastid="10711399"/>';
      l_xml := '</apirequest>';
      -- Open HTTP connection
      l_url := 'http://api.fastsms.co.uk/api/xmlapi.php';
      req := utl_http.begin_request(l_url,'POST',utl_http.HTTP_VERSION_1_1);
      -- Set headers for type and length
      utl_http.set_header(req,'Content-Type','application/x-www-form-urlencoded');
      utl_http.set_header(req,'Content-Length',to_char(length(l_xml)));
      -- Write parameter
      utl_http.write_text(req,l_xml);
      -- Read response file
      resp := utl_http.get_response(req);
      -- Print out the response headers
      FOR i IN 1 .. utl_http.get_header_count(resp) LOOP
        utl_http.get_header(resp,i,header_name,header_value);
        logging_pkg.info(header_name || ': ' || header_value);
      END LOOP;
      -- Print out the response body
      BEGIN
        LOOP
          utl_http.read_text(resp,response_text);
          logging_pkg.info(response_text);
        END LOOP;
      EXCEPTION
        WHEN utl_http.end_of_body THEN
          logging_pkg.info('End of body');
      END;
      -- close http connection
      utl_http.end_response(resp);
      EXCEPTION
        WHEN utl_http.end_of_body THEN
          utl_http.end_response(resp);
    END;
    Cheers,
    Brent

    Hi Billy
    Yikes - how embarassing !  Thanks for pointing out my beginners mistake there.  I've fixed my code - and also implemented the substitutions of parameters like you suggested - I like that approach.
    Unfortunately the end result is no better - the line
    utl_http.read_text(resp,response_text);
    Still returns nothing back
    The headers that are coming back are
    Date: Thu, 04 Jul 2013 08:31:56 GMT
    Server: Apache/2.2.16 (Ubuntu)
    X-Powered-By: PHP/5.3.3-1ubuntu9.3
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Vary: Accept-Encoding
    Content-Length: 0
    Content-Type: text/html; charset=UTF-8
    Connection: close
    I guess I will need to try chasing it with the fastsms vendor so see if they can check my incoming request and see if there are any glaring problems. I know the xml is correct as I am now logging the xml string just before I send it and when I take that string and put it in their test form it works perfectly - something else in the puzzle is missing. I've had no experience using utl_http before - perhaps it's no possible to read the xml repsonse using this ?
    Anyway, thanks for your help Billy.
    ps - How do you paste your code into your message to get that formatting ?
    Cheers,
    Brent

  • How to compile and register a Java CFX tag with multiple class files?

    All-
    If this is the wrong forum for CFX questions, please let me
    know.
    I need to determine how to compile and register a Java CFX
    tag that contains multiple class files. One class file implements
    the CustomTag interface and the other class files implement various
    supporting classes. All of the documentation that I have found
    talks about using a single class file. I am assuming that a JAR
    file will be involved, but I am not sure of the specifics.
    Thanks in advance for your help.
    -Josh

    Yes, it will involve a jar. Use your java IDE (eclipse,
    etcetera ..) to create a jar containing all of the classes. Check
    your ide's documentation for how to create jar files. After you
    have created the jar, place the jar in the CF class path so CF will
    recognize it. For example the {cf_root}/WEB-INF/lib directory. CF
    must be restarted before it will detect the new jar. After
    restarting CF, register the CFX tag in the ColdFusion Administrator
    using the name of the class that implements the CustomTag
    interface.
    Though it is worth noting you can also instantiate java
    classes directly from ColdFusion (ie without using a CFX
    tag).

  • How to compile Oracle Linux source?

    I accidentally downloaded source DVD "Oracle Linux Release 5 Update 2 source - DVD" instead of installable ISO image. Is there anyway I can compile it to make bootable ISO image?
    I tried to search this forum as well as other places but couldn't find any information hence thought of opening a thread before I proceed to download correct file which will again take 10+ hrs with my Internet speed :(
    Any help is highly appreciated. Also I need to know which packages are required to be installed for compiling the source if at all that is possible. I am using Ubuntu 11.10 Desktop.
    Thanks in advance for any help and hope to get a reply soon :) I need to urgently install Oracle 11gR2 on it.
    Edited by: user6582219 on Apr 12, 2012 1:10 AM
    While browsing the forum for any possible solution I came to a thread that discuss installation of a package oracle-rdbms-server-11gR2-preinstall. When searched through search engine I came to know about recent certification Oracle 11gR2 on Oracle Linux 6, here is the link https://blogs.oracle.com/linux/entry/announcing_oracle_database_11g_r2
    https://blogs.oracle.com/linux/entry/announcing_oracle_database_11g_r2
    Thing is I already have Oracle Linux 6 Update 2 (the latest) installed on my machine in dual boot mode so I dropped the idea of installing version 5.2. As per the documentation 11gR2 was not certified earlier on Linux 6.2 so I thought of installing 5.2 but it is not necessary now.
    I would still appreciate if someone could answer my question just for knowing the procedure compiling source. May be it can help someone else trying to achieve this.
    I have another couple of important questions and need guidance from the experts over here. I am not sure if it is appropriate to open a new thread but for now I am posting them here.
    Before proceeding here are my environment details:
    Machine: x86 32 bit with 2 GB RAM/250 GB HD.
    OS: Kubuntu 11.10 Desktop and Oracle Linux 6 Update 2 in dual boot mode.
    Here are my partition details for your reference but as I am planning to do the installation from the scratch following new ideal scheme you can jump to last paragraph following the line "*********************************" for my questions.
    Unfortunately my partition plan went wrong and here is what I have now:
    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x3d5ba9e1
    Device Boot Start End Blocks Id System
    /dev/sda1 * 2048 1002047 500000 83 Linux
    /dev/sda2 151525080 361253654 104864287+ 7 HPFS/NTFS/exFAT
    /dev/sda4 1003518 151001087 74998785 5 Extended
    /dev/sda5 1003520 7002111 2999296 82 Linux swap / Solaris
    /dev/sda6 7004160 11001855 1998848 83 Linux
    /dev/sda7 11003904 51001343 19998720 83 Linux
    /dev/sda8 51003392 110041087 29518848 83 Linux
    Partition table entries are not in disk order
    /dev/sda1 here is /tmp, /dev/sda2 is my data partition, I have separate /home / (root) partition for Kubuntu and remianing around 20 GB in extended partition is used for Oracle Linux 6.2 with default Oracle suggested LVM partition. I also have separate /boot for Kubuntu and I chose not to install grub while installing Oracle Linux. I later modified grub.cfg to add entries for Oracle Linux and now I can boot both OSs successfully.
    My issue now is I cannot extend 20 GB space (in extended partition) that I have given to Oracle though I have around 40 GB space available. This is because I alreay have 4 primary partitions (one for /boot others for "data" and one extended partition). So I have to make primary partition out of free space and install Oracle in a single partition without following recommended partition layout scheme.
    Now I want to do the installation of both the OS from the scratch and really need an advice on partition layout scheme. Here is summary of what I wan to achieve:
    1. Keep the "data" partition (primary) intact and carve an ideal partition layout for both the OS with separate /boot, /tmp, /home, swap (and may be for /usr???). Also may be I can share swap?
    2. How do I go about using LVM and is it recommended for this case? What would be ideal locations for each partitions and sizes? I already used 100 GB for "data" so now I want to keep 60 GB for Oracle Linux (and Oracle DB for which I will again make few sub-partitions) and remaining will be for Kubuntu.
    Well, I am not sure if this is the right place to ask these questions but since I can see very knowlegeable top contributors here that are willing to help novice users I thought of posting these questions.
    I would really really appreciate if someone can provide me rough draft of partition scheme in my case considering the sub-partitions needed for Oracle DB. I went thorugh number of forums and documentations to come up with solutuion and finally thought of getting help after much confusion.
    I really need to carefully plan this time because it's third time I am doing reinstallation from the scratch because of poor plan I followed previously.
    Thank you very much in advance and please let me know in case more information is needed from my side.
    Regards,
    Ramesh

    I accidentally downloaded source DVD "Oracle Linux Release 5 Update 2 source - DVD" instead of installable ISO image. Is there anyway I can compile it to make bootable ISO image?Google will be your best friend for such a question, for instance, "Creating a Custom centos Linux bootable ISO Image". There is no need to duplicate the effort. I recommend you download the correct installation DVD, e.g. 5.8
    Thing is I already have Oracle Linux 6 Update 2 (the latest) installed on my machine in dual boot mode so I dropped the idea of installing version 5.2. As per the documentation 11gR2 was not certified earlier on Linux 6.2 so I thought of installing 5.2 but it is not necessary now.So you don't need to install 5.2 anymore, but you want the information how to compile a installation DVD from the 5.2 source anyway?!
    I have another couple of important questions and need guidance from the experts over here. I am not sure if it is appropriate to open a new thread but for now I am posting them here.Questions may be important for you, but not necessarily for others. No one will complain if you create a new thread for particular questions or subjects. It is better to separate your topics and questions rather than creating a multi-mega thread, which does little to help anyone else but you. It means more work on your end, but it will be easier for anyone to participate or answer your questions, and it will allow you to better award answers.
    Regarding your partitioning questions: It is generally difficult to address such topics in a forum. You are asking for a book of information. My advice is to drop the old fashioned concepts of dual or triple boot options and install Oracle VirtualBox instead. It will make all of these questions obsolete and you can use whatever defaults when installing your virtual machine guest OS. Its a far more superior way of dealing with multiple operating systems on one and the same computer.
    I am using Ubuntu 11.10 Desktop.
    I need to urgently install Oracle 11gR2 on it.For what it's worth, if you can combine the two source below you should be able to install and run 11gR2 on Ubuntu 11.10.
    Install Oracle 11gR2 on Ubuntu Linux 11.04 (64-bit) Howto
    Install Oracle 11gR2 on Ubuntu Linux 11.04 (64-bit) Howto
    Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto
    Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto
    However, check out VirtualBox.

Maybe you are looking for

  • Error Message on Startup

    I have installed a mSATA drive that is the C drive and used the original 500MB HD as a data drive. When the computer is booted I get the following message. So far I have not been able to see what this service is and how to resolve the issue. Any idea

  • Does X-Fi have built in Flash Memory or internal Hard Driv

    I can't find any specs on whether the X-Fi's internal storage is flash memory or if it uses a hard dri've. I know about the SD card slot and I am not referring to that which of course is flash memory. I mean the 8/6/32 gig storage depending on the mo

  • Ac adapter for Linksys model # EZXS88W 10/100 8-Port workgroup Switch

    Please, need help finding and obtaining an AC Adapter for Linksys model3 EZXS88W 10/100 8-Port Workgroup Switch. what info do I need to narrow my search, any websites?  be blessed and keep looking up!     (\O/)       /_\   ANGEL!! Jay Paul Wilder,RN

  • Cannot Re-install Itunes anfter removing old version

    I cannot get Itunes to download, I get an Error message that tells me: iTunesSetup[1].exe is not a valid WIN32 Application. What does that mean? any help would be great! Thanks

  • Brand new macbook air 13" 8gb 512gb ssd i7. Slow shutdown (20-30 seconds)

    so just brought a mba today transfered some stuff from my old mbp hdd upon startup. when i shutdown it goes to a grey screen then the loading wheel sppears and finally goes off after 20-30 seconds my girlfriend brought a mba on 3 days earlier 11" 128