Servlet not executing the a file at server?

i am trying to execute a java file at server
using the following servlet. I am using
Process proc=runtime.exec("C:\\j2sdk1.4.1_01\\bin\\javac HelloServlet.java"); I am compiling the code succesfully
and when i call the servlet at browser it displays HELLO
but not executing the command. I am using Tomcat and winows NT.
here the servlet code ....please help.........
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class Hello extends HttpServlet {
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
String docType =
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " +
"Transitional//EN\">\n";
out.println(docType +
"<HTML>\n" +
"<HEAD><TITLE>Hello</TITLE></HEAD>\n" +
"<BODY BGCOLOR=\"#FDF5E6\">\n" +
"<H1>Hello</H1>\n" +
"</BODY></HTML>");
try
Runtime runtime=Runtime.getRuntime();
Process proc=runtime.exec("C:\\j2sdk1.4.1_01 \\bin\\javac HelloServlet.java");
BufferedReader br=new BufferedReader(new InputStreamReader(proc.getInputStream()));
PrintWriter com_out=response.getWriter();
com_out.println("<pre>");
String line=null;
while((line=br.readLine())!=null)
{ com_out.println(line);
catch (Exception e)
out.println("Listener *not* started!");

thanku for the cooperation. i kept as below but still it is not working.......
String path = getServletContext().getRealPath("C:\\Tomcat 4.1\\webapps\\examples\\WEB-INF\\classes\\Hello.class");
Runtime runtime=Runtime.getRuntime();
Process proc=runtime.exec("C:\\j2sdk1.4.1_01\\bin\\javac HelloServlet.java" +path );                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Could not execute the css file

    Hi,
    I have this code:
    named: email11.java
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import java.util.*;
    import business.User;
    import data.UserDB;
    import util.MurachPool;
    public class EmailServlet extends HttpServlet{
    private MurachPool connectionPool;
    public void init() throws ServletException{
    connectionPool = MurachPool.getInstance();
    public void destroy() {
    connectionPool.destroy();
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws IOException, ServletException{
    Connection connection = connectionPool.getConnection();
    HttpSession session = request.getSession();
    String message ="";
    try{
    Vector users = UserDB.readRecord(connection);
    session.setAttribute("users", users);
    RequestDispatcher dispatcher =
    getServletContext().getRequestDispatcher(
    "/email11/show_email_entry.jsp");
    dispatcher.forward(request, response);
    }catch(SQLException sqle){
    message = "EmailServlet SQLException: " + sqle;
    session.setAttribute("message", message);
    RequestDispatcher dispatcher =
    getServletContext().getRequestDispatcher(
    "/email11/join_email_list.jsp");
    dispatcher.forward(request, response);
    connectionPool.freeConnection(connection);
    and this code in jsp file:
    named: show_email_entry.jsp
    <!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
    <%@ taglib uri="../WEB-INF/tlds/murach.tld" prefix="mma" %>
    <html>
    <head>
    <link rel="stylesheet" type="text/css" href="DisplayData.css">
    </head>
    <body>
    <h1> Test</h1>
    <table cellspacing="0" cellpadding="1" border="1">
    <tr valign="bottom">
    <td class="headerColumn" align= "center">First Name</td>
    <td class="headerColumn" align= "center">Last Name</td>
    <td class="headerColumn" align= "center">Address</td>
    <td class="headerColumn" align= "center">Phone Number</td>
    <td class="headerColumn" align= "center">Cell Number</td>
    <td class="headerColumn" align= "center">Email Address</td>
    </tr>
    <mma:users>
    <tr>
    <td><%= firstName %></td>
    <td><%= lastName %></td>
    <td><%= address %></td>
    <td><%= phoneNumber %></td>
    <td><%= cellNumber %></td>
    <td><%= emailAddress %></td>
    </tr>
    </mma:users>
    </table>
    </body>
    </html>
    This is the css file code that I like to apply to the show_email_entry.jsp
    named: Displaydata.css
    This rules are for background color for data display
    /*td.column{
    background-color: #f0f8ff;
    background-color: #fffacd;
    td.headerColumn{
    background-color: #daa520;
    font-weight: bold;
    font-family: sans-serif,Verdana, Arial, Helvetica;
    font-size: 10pt;
    td.column{
    font-family: sans-serif,Verdana, Arial, Helvetica;
    font-size: 10pt;
    white-space: nowrap;
    background-color: #fffacd;
    a{
    text-decoration: none;
    h1{
    color: red;
    They are working fine. However, it just does not execute the css file in the show_email_entry.jsp. Another word, the headerColumn should show some color as I coded it in the css file. But it shows only white background and black text. I have the file named DisplayData.css in the same directory as the file named show_email_entry.jsp. But it still does not work.
    if I create a test.jsp and use with the DisplayData.css file above then it would work fine. But when I used it with the servlet file, then it would not work.
    Anyone knows why ?
    Thanks
    zbonzbon

    Pls, disregard this thread. I have found my answer..
    Thanks,
    zbonzbon

  • Java.exe does not execute the clas file ????

    I would like to know how to run a compiled program in Java, for example HELLOWORLD.CLASS after I have changed it from a .java file into a .class file.
    What can I do to execute this .class file to see how
    the program works ?

    You should start with:
    java HelloWorldRemember that it is case sensitive. There are several other things that can go wrong so keep posting your trials and errors!

  • Not able to read the wsdl file from server Premature EOF encounter

    Hi All,
    I am facing issue while accessing a web Service from server. Here is the clear view about it.
    I created a simple SyncBpel process in a composite and deployed in to the server and it is working fine. Later i created a new Asyn bpel process in a composite and in the external reference i dragged a web Service and imported the wsdl url from server of the SyncBpel and wired the Asynbpel process to webserive .
    Now here i am facing peculiar behavior which i am not able to trace it out.
    1) For the first time when i import the url of syncBpel from the server i am not facing any error and it is working fine as expected but when i close the Jdeveloper and open it i am not able to user the web Service and it is saying as "Not able to read the wsdl file from server Premature EOF encounter"
    2)When i close and open the Jdeveloper i can see the url of the wsdl which imported in webserver is changing from http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL to http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/BPELsync.wsdl
    3)when I open and see the url http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL I can see the soap address as *<soap:address location="http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel!1.0*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c/bpelsync_client_ep"/>*
    I don’t understand why the soap end contains “*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c” and this kind of url for soap address is coming to all the bpel process which I am deploying in the server.
    I checked the in Jdeveloper where webproxy is uncheck and the server is also up but still I am facing issue of reading the error.
    Can someone please help in resolving the issue.
    I am using SOA 11g 11.1.1.5 and Jdeveloper 11.1.1.5
    Many thanks.
    Tarak
    Edited by: user11896572 on Jan 17, 2012 5:22 PM

    Hi,
    Setting default from the jdeveloper -
    During composite deployment from Jdeveloper (wizard driven), you will be given an option to choose the version of the composite and there will also be an option for you to choose if the composite needs to be deployed as default.
    Setting default from the em console -
    After deploying a composite, login to the em console and click on the composite that you want to set as default, and you will find a tab - "Set as Default". please note that this tab will not be seen, if the composite is already set as default.
    Refer -
    http://docs.oracle.com/cd/E12839_01/integration.1111/e10226/soacompapp_mang.htm
    8.2 Managing the State of Deployed SOA Composite Applications
    Thanks

  • Weblogic Server not picking the jar files in WEB-INF/lib folder

    we are facing a strange problem where Weblogic App Server is not picking the jar files present inside the WEB-INF/lib folder if we update the jar file path in the classpath of the start script then the classes get loaded properly.
    Is there any specific setting which I need to do in weblogic to pick these jars ?

    Class loaders associated with a Web application can be configured to locate local classes first. To enable this we have to set the <prefer-web-inf-classes> to true in the deployment override weblogic.xml, for example
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    http://blog.transfer-solutions.com/2010/12/weblogic-class-loading/

  • In LSMW while executing the specify file step logical file name and path.

    Hi ,
    In LSMW , while executing the specify file step, logical file name and path is mandatory field to entry, but in some of other LSMW objects, these fields are not mandatory one, i want to know is it possible for me to do hide the logical file name and path field in specify file step.
    thanks
    Md nisar

    Hi,
    For some Transactions while executing the Specify file step Logical File and Logical Path are mandatory.
    In this case Converted file will be stored in the application server. According to the specified Logical File and Logical path.
    Hope this will help you....
    Regards,
    Tirumala Reddy

  • Could not execute the job

    Hi,
    when i execute the job a a window appear with the massage" ERROR: could not execute the job .Error returned was 1
         MESSAGE is : Could not open command file...
    And i can't find from where it comes any suggestion?

    When today i execute the job i had this list of error
    13860    15384    REP-100109        27/05/2014 08:22:10       |Session TF_SGFA
    13860    15384    REP-100109        27/05/2014 08:22:10       Cannot save <History info> into the repository. Additional database information: <SQL submitted to ODBC data source
    13860    15384    REP-100109        27/05/2014 08:22:10       <SIGSIRDDB01\SQLSIRDBD> resulted in error <[Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate space for object
    13860    15384    REP-100109        27/05/2014 08:22:10       'dbo.AL_HISTORY_INFO' in database 'DS_REP' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded
    13860    15384    REP-100109        27/05/2014 08:22:10       files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files
    13860    15384    REP-100109        27/05/2014 08:22:10       in the filegroup.>. The SQL submitted is <INSERT INTO "AL_HISTORY_INFO" ("OBJECT_KEY", "NAME", "VALUE", "NORM_NAME",
    13860    15384    REP-100109        27/05/2014 08:22:10       "NORM_VALUE") VALUES (430, N'TRACE_LOG_INFO',
    13860    15384    REP-100109        27/05/2014 08:22:10                N'F:\SAPDS/log/JobServDS/sigsirddb01_sqlsirdbd_ds_rep_dsuser/trace_05_27_2014_08_22_09_10__3a4327b0_92c8_4abe_ac24_96d49123242a.
    13860    15384    REP-100109        27/05/2014 08:22:10       txt', N'TRACE_LOG_INFO',
    13860    15384    REP-100109        27/05/2014 08:22:10                N'F:\SAPDS/LOG/JOBSERVDS/SIGSIRDDB01_SQLSIRDBD_DS_REP_DSUSER/TRACE_05_27_2014_08_22_09_10__3A4327B0_92C8_4ABE_AC24_96D49123242A.
    13860    15384    REP-100109        27/05/2014 08:22:10       TXT') >.>.
    13860    15384    REP-100112        27/05/2014 08:22:10       |Session TF_SGFA
    13860    15384    REP-100112        27/05/2014 08:22:10       Cannot save <History info> for repository object <>. Additional database information: <Cannot save <History info> into the
    13860    15384    REP-100112        27/05/2014 08:22:10       repository. Additional database information: <SQL submitted to ODBC data source <SIGSIRDDB01\SQLSIRDBD> resulted in error
    13860    15384    REP-100112        27/05/2014 08:22:10       <[Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate space for object 'dbo.AL_HISTORY_INFO' in database 'DS_REP'
    13860    15384    REP-100112        27/05/2014 08:22:10       because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup,
    13860    15384    REP-100112        27/05/2014 08:22:10       adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.>. The SQL submitted is
    13860    15384    REP-100112        27/05/2014 08:22:10       <INSERT INTO "AL_HISTORY_INFO" ("OBJECT_KEY", "NAME", "VALUE", "NORM_NAME", "NORM_VALUE") VALUES (430, N'TRACE_LOG_INFO',
    13860    15384    REP-100112        27/05/2014 08:22:10                N'F:\SAPDS/log/JobServDS/sigsirddb01_sqlsirdbd_ds_rep_dsuser/trace_05_27_2014_08_22_09_10__3a4327b0_92c8_4abe_ac24_96d49123242a.
    13860    15384    REP-100112        27/05/2014 08:22:10       txt', N'TRACE_LOG_INFO',
    13860    15384    REP-100112        27/05/2014 08:22:10                N'F:\SAPDS/LOG/JOBSERVDS/SIGSIRDDB01_SQLSIRDBD_DS_REP_DSUSER/TRACE_05_27_2014_08_22_09_10__3A4327B0_92C8_4ABE_AC24_96D49123242A.
    13860    15384    REP-100112        27/05/2014 08:22:10       TXT') >.>.>.
    13860    15384    REP-100112        27/05/2014 08:22:10       |Session TF_SGFA
    13860    15384    REP-100112        27/05/2014 08:22:10       Cannot save <History info> for repository object <>. Additional database information: <Cannot save <History info> into the
    13860    15384    REP-100112        27/05/2014 08:22:10       repository. Additional database information: <SQL submitted to ODBC data source <SIGSIRDDB01\SQLSIRDBD> resulted in error
    13860    15384    REP-100112        27/05/2014 08:22:10       <[Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate space for object 'dbo.AL_HISTORY_INFO' in database 'DS_REP'
    13860    15384    REP-100112        27/05/2014 08:22:10       because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup,
    13860    15384    REP-100112        27/05/2014 08:22:10       adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.>. The SQL submitted is
    13860    15384    REP-100112        27/05/2014 08:22:10       <INSERT INTO "AL_HISTORY_INFO" ("OBJECT_KEY", "NAME", "VALUE", "NORM_NAME", "NORM_VALUE") VALUES (430, N'TRACE_LOG_INFO',
    13860    15384    REP-100112        27/05/2014 08:22:10                N'F:\SAPDS/log/JobServDS/sigsirddb01_sqlsirdbd_ds_rep_dsuser/trace_05_27_2014_08_22_09_10__3a4327b0_92c8_4abe_ac24_96d49123242a.
    13860    15384    REP-100112        27/05/2014 08:22:10       txt', N'TRACE_LOG_INFO',
    13860    15384    REP-100112        27/05/2014 08:22:10                N'F:\SAPDS/LOG/JOBSERVDS/SIGSIRDDB01_SQLSIRDBD_DS_REP_DSUSER/TRACE_05_27_2014_08_22_09_10__3A4327B0_92C8_4ABE_AC24_96D49123242A.
    13860    15384    REP-100112        27/05/2014 08:22:10       TXT') >.>.>.
    and thank u.
    Sincerly

  • My servlets not found the EJB

    Hi,
    I have a Servlet with the following code:
    Hashtable env = new Hashtable();
    env.put (Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "adminmanager");
    env.put(Context.PROVIDER_URL, "http://127.0.0.1:7007");
    Context ctx = new InitialContext(env);
    Object objref = ctx.lookup("Calc");
    homecalc = (CalcHome)PortableRemoteObject.narrow(objref,CalcHome.class);
    But when i execute the servlet by http://...
    the server say java.lang.NullPointerException and not execute the EJB and finalize
    the servlet normally.
    what is bad?
    Thanks in advance,
    Juan Uribe.

    Hi,
    I have a Servlet with the following code:
    Hashtable env = new Hashtable();
    env.put (Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "adminmanager");
    env.put(Context.PROVIDER_URL, "http://127.0.0.1:7007");
    Context ctx = new InitialContext(env);
    Object objref = ctx.lookup("Calc");
    homecalc = (CalcHome)PortableRemoteObject.narrow(objref,CalcHome.class);
    But when i execute the servlet by http://...
    the server say java.lang.NullPointerException and not execute the EJB and finalize
    the servlet normally.
    what is bad?
    Thanks in advance,
    Juan Uribe.

  • When I try to upload a file it goes through the correct proceedure, but does not change the remote file i.e.Index.htm

    Hi
    I have an uploading problem to the server. The problem is when I try to upload a file it goes through the correct proceedure,
    but does not change the remote file i.e.Index.htm, or three stages1.htm.
    My Localroot folder is C:\Gods Plan Web\
    The site map layout is C:\Gods Plan Web\Index.htm
    The folder for the remote site is /public_html/
    Should the local root folder mirror the remote site, i.e./public_html/
    if this is so, what should I put into the
    (a) Local Root Folder box?
    (b) site map layout box?
    The FTP is performing well other than changing the intended file.

    You should be uploading only the contents of your local root to the public_html folder (remote root).
    The index.html you use as your site's home page needs to be in your site root. If you look at your Files window in DW, you should have something like the following...
    Site - Whatever you named your site
         index.html
         images
         pages
              page1.html
              page2.html
    If you have any folder between Site - and the index.html page, like...
    Site - Whatever you named your site
         mywebsite
              index.html
    It will upload to the public_html while still in that folder, so to find your page online, you would need to type something like...
    www.mydomain.com/mywebsite
    public_html should NOT appear within your local files and if it existed there, would cause a redundancy if uploaded. You would need to type www.yourdomain.com/public_html to see the uploaded pages.
    If you could post a screen shot of your expanded Files window while connected to the server (just connect and click the Expand button in Files, don't drill down into any of the directories), we may be able to see the issue.

  • Error while executing the .sql file

    Hello,
    Every time when i execute the below plsql it's keep throwing the error message as show in below output, this happens even when i manually create the trigger before executing the .sql file of all the below statements, can you please correct me what i am doing wrong here. Thank you.
    DROP TABLE FCSDWH.REF_DATA_MASTER;
    CREATE TABLE FCSDWH.REF_DATA_MASTER
    REF_DATA_MASTER_ID                      NUMBER PRIMARY KEY,
    DESCRIPTION                                     VARCHAR2(255 CHAR),
    CREATE_ID                                       VARCHAR2(10 CHAR),
    CREATE_DT                                       DATE,
    LST_UPD_ID                                      VARCHAR2(10 CHAR),
    LST_UPD_DT                                      DATE,
    ACT_STRT_DT                                     DATE,
    ACT_END_DT                                      DATE
    TABLESPACE FCSDWH
    STORAGE(INITIAL 50K);
    DROP SEQUENCE FCSDWH.REF_DATA_MASTER_SEQ;
    CREATE SEQUENCE FCSDWH.REF_DATA_MASTER_SEQ START WITH 1 INCREMENT BY 1;
    DROP TRIGGER "FCSDWH.REF_DATA_MASTER_TRG";
    CREATE OR REPLACE TRIGGER FCSDWH.REF_DATA_MASTER_TRG
    BEFORE INSERT ON FCSDWH.REF_DATA_MASTER
    FOR EACH ROW
    BEGIN
    SELECT FCSDWH.REF_DATA_MASTER_SEQ.NEXTVAL INTO :NEW.REF_DATA_MASTER_ID FROM DUAL;
    END;
    /Output:
    SQL> @/home/smadala/REF_DATA_MASTER.SQL
    Table dropped.
    Table created.
    Sequence dropped.
    Sequence created.
    DROP TRIGGER "FCSDWH.REF_DATA_MASTER_TRG"
    ERROR at line 1:
    ORA-04080: trigger 'FCSDWH.REF_DATA_MASTER_TRG' does not exist
    Trigger created.
    SQL>

    The trigger is "attached" to the table so when you drop the table the trigger goes as well.
    John

  • ITunes could not contact the iPhone software update server because you are not connected to the internet...???

    Ok I’m completely lost here....
    I’m running Microsoft Windows XP Home Edition Service Pack 3 (Build 2600), I updated iTunes to 11.0.2.25 and some other updates for windows last night on my laptop. I try connecting to download the iOS 6.1.2 update for my iPhone 4 and my iPhone 5 via iTunes. I am getting this message for both "iTunes could not contact the iPhone software update server because you are not connected to the internet. Make sure your internet connection is active and try again." Everything was fine with connecting prior to running these updates because I downloaded the 6.1 update with no problems when it came out.
    What I have done so far with which has made no difference:
    Checked my internet connection
    Changed my internet connection
    Signed out of iTunes and then signed back in
    Ran diagnostics via iTunes, comes back with: Network interfaces verified- Internet connection failed- Secure link to iTunes store verified
              Connection attempt to Apple web site was successful.
              Connection attempt to browsing iTunes Store was successful.
              Connection attempt to purchasing from iTunes Store was successful.
              Connection attempt to iPhone activation server was successful.
              Connection attempt to firmware update server was successful.
              Connection attempt to Gracenote server was successful.
              Last successful iTunes Store access was 2013-02-20 20:40:48.
    Disabled firewall, spy sweeper, virus scanner
    start>run>cmd> typed "netsh winsock reset"
    Rebooted
    Checked the parental controls in iTunes
    Start>control panel>internet options>connections tab> lan settings> selected the "automatically detect settings"
    Deleted iTunes and reinstalled iTunes
    When I would "ping gs.apple.com" it would come back with "request timed out" no matter what internet connection I was on, so I went into the hosts file  start>my computer>(C:)>WINDOWS>system32>drivers>ect>HOSTS and added  "#     127.0.0.1     gs.apple.com". Now it will ping gs.apple.com just fine but still comes up with the "iTunes could not contact the iPhone software update server because you are not connected to the internet" message in iTunes when i try to download the update.
    If anyone can come up with any ideas that I haven’t tried, please let me know. This is keeping me back from updating both of my phones along with if anything should ever happen to them; restores as well. 

    im computer is connected i can go to the apple store through itunes but when i plug my phone in i keep getting that alert... i plugged my phone in to update it after the apple loaded the itunes icon and a usb showed up.

  • Problem with ghostscript ['Distiller' did not produce the output file ]

    Hi,
    We are trying to convert the checked in files to pdf using ghostscript.
    The Steps i have followed in installing the Distiller
    First I have installed gs8.64 and configure distiller
    Refinery server--> Conversion settings --> Third-party Application Settings --> Distiller Engine --> options -->
    Use GhostScript and provided the path to install dierctory as C:/Program Files/gs/gs8.64/
    Installed Printer as per the pdf
    Conversion Settings --> Primary web redention --> convert to pdf using third party applications
    Server details:
    CS: 10gr3
    ghost script 8.64
    Plz find the below logs details
    Error Log...
    Copying c:/ucm/server2/vault/~convert/idc/2/2.txt to c:/ucm/server2/vault/~convert/idc/2/temp.ps
    Waiting for exclusive access on c:/ucm/server2/vault/~convert/idc/2/temp.ps
    Obtained exclusive access on c:/ucm/server2/vault/~convert/idc/2/temp.ps
    Waiting on Distiller
    Check for file c:/ucm/server2/vault/~convert/idc/2/temp.pdf failed
    'Distiller' did not produce the output file 'c:/ucm/server2/vault/~convert/idc/2/temp.pdf'.
    Exception type is 'java.lang.Throwable'. Details
    An error has occurred. The stack trace below shows more information.
    !$Copying c:/ucm/server2/vault/~convert/idc/2/2.txt to c:/ucm/server2/vault/~convert/idc/2/temp.ps <br>Waiting for exclusive access on c:/ucm/server2/vault/~convert/idc/2/temp.ps <br>Obtained exclusive access on c:/ucm/server2/vault/~convert/idc/2/temp.ps <br>Waiting on Distiller <br>Check for file c:/ucm/server2/vault/~convert/idc/2/temp.pdf failed <br>'Distiller' did not produce the output file 'c:/ucm/server2/vault/~convert/idc/2/temp.pdf'. <br>!syExceptionType,java.lang.Throwable
    java.lang.Throwable
         at intradoc.common.IdcLogWriter.doMessageAppend(Unknown Source)
         at intradoc.common.Log.addMessage(Unknown Source)
         at intradoc.common.Log.errorEx2(Unknown Source)
         at intradoc.common.Log.errorEx(Unknown Source)
         at docrefinery.agent.Logger.logError(Logger.java:138)
         at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:140)
         at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:231)
         at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:144)
         at docrefinery.convert.ConversionDriver.processSubConversion(ConversionDriver.java:165)
         at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:109)
         at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:231)
         at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:144)
         at docrefinery.queue.PreConvertedRefineryQueueMonitor.handleCurrentQueueItem(PreConvertedRefineryQueueMonitor.java:204)
         at docrefinery.queue.PreConvertedRefineryQueueMonitor.monitorRefineryPreConverterQueue(PreConvertedRefineryQueueMonitor.java:125)
         at docrefinery.queue.PreConvertedRefineryQueueMonitor$1.run(PreConvertedRefineryQueueMonitor.java:93)
         at java.lang.Thread.run(Thread.java:595)
    Conversion completed -- Step PostscriptToPDF forced conversion failure by conversion engine because of error: ''Distiller' did not produce the output file 'c:/ucm/server2/vault/~convert/idc/8/temp.pdf'.'. Exception type is 'java.lang.Throwable'.
    Please suggest me where i am going wrong...
    Thanks in advance,
    Prasad V.

    Hi Srinath,
    Thanks for your reply. It worked fine with 8.63 version.
    Is there any other way to get it worked with out installing ghostscript.exe as the client doesnt want to instal any exe file on the server as it has broader impact on other instances also, can we acheive the conversion by copying the extracted zip files of ghostscript-8.63.tar.gz .....
    We tried with extracted zip files by following the below settings
    Refinery server--> Conversion settings --> Third-party Application Settings --> Distiller Engine --> options -->
    deselected Use GhostScript and provided the Path to generic PostScript to PDF engine D:\ghostscript\ghostscript\lib\ps2pdf14.bat
    Parameters to pass to generic PostScript to PDF engine.
    <$postscriptFile$> <$pdfFile$>
    Path to generic PDF optimization engine.
    D:\ghostscript\ghostscript\lib\pdfopt.bat
    Parameters to pass to generic PDF optimization engine.
    <$pdfFile$> <$optimizedPdfFile$>
    Installed Printer as per the pdf
    Conversion Settings --> Primary web redention --> convert to pdf using third party applications
    We are getting the below error:
    Waiting for exclusive access on c:/temp/idcoutput.ps
    Obtained exclusive access on c:/temp/idcoutput.ps
    Waiting on Distiller
    Error Distilling
    Exception type is 'java.lang.Throwable'. [ Details ]
    An error has occurred. The stack trace below shows more information.
    !$Waiting for exclusive access on c:/temp/idcoutput.ps <br>Obtained exclusive access on c:/temp/idcoutput.ps <br>Waiting on Distiller <br>Error Distilling <br>!syExceptionType,java.lang.Throwable
    java.lang.Throwable
         at intradoc.common.IdcLogWriter.doMessageAppend(Unknown Source)
         at intradoc.common.Log.addMessage(Unknown Source)
         at intradoc.common.Log.errorEx2(Unknown Source)
         at intradoc.common.Log.errorEx(Unknown Source)
         at docrefinery.agent.Logger.logError(Logger.java:138)
         at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:140)
         at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:231)
         at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:144)
         at docrefinery.queue.PreConvertedRefineryQueueMonitor.handleCurrentQueueItem(PreConvertedRefineryQueueMonitor.java:204)
         at docrefinery.queue.PreConvertedRefineryQueueMonitor.monitorRefineryPreConverterQueue(PreConvertedRefineryQueueMonitor.java:125)
         at docrefinery.queue.PreConvertedRefineryQueueMonitor$1.run(PreConvertedRefineryQueueMonitor.java:93)
         at java.lang.Thread.run(Thread.java:595)
    Conversion completed -- Step PostscriptToPDF forced conversion failure by conversion engine because of error: 'Error Distilling'. Exception type is 'java.lang.Throwable'.
    Plz let us know if it is possible to convert the docs to pdf with out installing the ghostscript.exe file on server.
    Thanks in advance,
    Prasad V.

  • Exception is thrown only while executing the jar file

    java.lang.NoClassDefFoundError: javax/mail/Address Exception is thrown only while executing the jar file. But the program compiles and executes good when executed for command prompt through the class files.
    I used javamail API in my program. Classpath and every others are set to the right one's. Executed fine when used java Random.class. But the problem is only with the jar file.
    Please help me out in this regard. Why the exception is thrown only in jar but not at class level.

    Assuming you're running your program using "java -jar", your jar file needs a Class-Path entry
    in the manifest file that references mail.jar.

  • A nested exception occurred. Could not execute the function

    Hi Experts,
    Post upgrade of SAP Portal from 7.0 to 7.31, and when we click any application related to visual composer it shows the below error.
    and the default trace shows
    #2.0 #2014 07 22 02:34:11:243#0-700#Error#visualComposer_NWBIKit_logger#
    #EP-PIN-PRT#tc~epbc~prtc~core#C000A7EEAF63014200000002000019B9#11738650000000004#sap.com/com.sap.visualcomposer.BIKit#visualComposer_NWBIKit_logger#C921154#36##E220BC96117411E4C8F2000000B31E1A#519cf5b0118311e48b43000000b31e1a#519cf5b0118311e48b43000000b31e1a#0#Thread[HTTP Worker [@2079636611],5,Dedicated_Application_Thread]#Plain##
    A nested exception occurredCould not execute the function
    [EXCEPTION]
    com.sapportals.connector.execution.ExecutionException: A nested exception occurred. Could not execute the function.
    at com.sapportals.connectors.SAPCFConnector.SAPConnectorException.getNewExecutionLocalizedException(SAPConnectorException.java:193)
    at com.sapportals.connectors.SAPCFConnector.execution.functions.SAPCFConnectorInteraction.execute(SAPCFConnectorInteraction.java:617)
    at com.sap.portal.guimachine.bikit.query.bw.QueryViewFlatRfc.execute(QueryViewFlatRfc.java:209)
    at com.sap.portal.guimachine.bikit.designtime.bw.BWResultsetProcessor$ExecuteHandler.execute(BWResultsetProcessor.java:399)
    Please give us your valuable inputs to solve this.
    Thanks in advace!!
    Regards,
    Preetha Balan

    Hi Colin,
    Sorry for the delay in response!!
    Yes SAP gave patch VC70RUNTIME file to apply to get rid of this error.
    Even asked us to follow the sap note
    1532050 - Disabling error messages that pop up at runtime
    Hope this helps you
    Thanks,
    Preetha Balan

  • InDesign CS3 ME not supported the .mrk file

    Hi all,
    I have the problem with InDesign CS3 ME (windows) version is not supported the .mrk file but the same to be support in Normal InDesign CS3 version.
    Hint:
    //pgmk.v02.00 //Prints page information inside the page area
    Anyone help me this.
    Regards,
    Nagaraj

    Has anybody got another suggestion for this please? I am experiencing the same problem.
    I am Using:
    Mac Pro Intel 2 x Quad 2.8Ghz
    OS 10.5.8
    Adobe InDesign CS3 (5.0.4)
    Suitcase 11.0.5.1
    The troubleshooting I have done so far:
    Updated Suitcase.
    Reset suitcase, deleted font caches, re-synced with server.
    Updated InDesign.
    Deleted and reset InDesign preference files.
    Re-saved the problematic documents by selecting 'Save As.'
    Finally, I copied and pasted the text and graphics into a new document which seamed to work for a few minutes but then I was back to the same problem of not being able to edit the size of the text etc

Maybe you are looking for

  • Mac OS 9?

    I am saving up to buy a used apple iBook. The one I have my eye on is an iBook G3 for $300. I am used to a new iMac, with Mac OS X.... The software right before Leopard. Anyway, it has Mac OS 9.1. I don't think I can update it anytime soon, (leopard

  • How to find all Custom tables (transp) that have a custom transaction code?

    My client has asked us to provide a list of all Z (custom) tables and the associated transaction codes for maintaining them. I know I can manually do this with a Z* search in se11 and then do a where used on each table to find out if a view (transact

  • CS5 Unknown Error, Can't Save After Drawing/Copying Vector Linework

    I've found some other versions of this problem on the forum that seemed more straightforward, but this ones a bit stranger. I have a fairly large file with 8 artboards (no memory problem), and a variety of images and vectors.  It was saving fine as a

  • Tftpd and TCP wrappers

    I'm unable to wrap the tftpd service on our system. The server is not denying tftp (get) requests from arbitrary Internet hosts, in spite of: /etc/hosts.deny: in.tftpd: ALL TCP wrappers is enabled for tftpd: # inetadm -l svc:/network/tftp/udp6:defaul

  • LDAP Services and Shared services not starting

    Our foundation services are based in a Win server We had a problem with the server and it required to be restarted, by now the front end Hyperion services such as Web Analysis are up but Shared services and LDAP services not. We tried to start them m