URL to public_html docs on the app server version of Portal Server 6.0

I recently switched from Portal Server 6.0 to the Portal Server version that runs under Sun's Application Server 7.
I want to create a bookmark that references a URL that is already located on the portal server itself.
I did this in the previous version by placing my files in a subdirectory under /opt/SUNWam/public_html/go/index.html
I could access the URL by creating the bookmark with the relative URL /go/index.html
This no longer works under the application server version of portal server 6.0. I tried placing my file in /opt/SUNWappserver7/SUNWam/public_html/go/index.html and referencing the file as /go/index.html
Anybody know what the new relative URL would be to access this document?

By golly, I figured it out.
In order to use the URL /go/index.html as the bookmark, the file needs to be placed in the "go" subdirectory off the default document root of the application server at /var/opt/SUNWappserver7/domains/domain1/server1/docroot/go/index.html

Similar Messages

  • Create attachment of  a file stored on the app server for mail

    Hello All:
    I am working on sending a mail with attachemnts (file from the app server), i am aware of numerous solutions posted on the forum ....i am  able to create an attachment and send mail. the problem i am facing is the attachment is corrupted . can some one guide me as what i am ding wrong . here's the code
    DATA: REC(80) TYPE C.
        DATA: L_SIZE TYPE DRAO-ORLN.
        DATA: L_LINES TYPE I.
        DATA: L_DATA_TAB TYPE TABLE OF RCGREPFILE.
        DATA: L_DATA_TAB1 TYPE TABLE OF RCGREPFILE.
        DATA: L_DATA_WA TYPE RCGREPFILE.
        DATA: N_FILE TYPE RCGIEDIAL-IEFILE.
        P_FILE = '/usr/sap/MIE/SYS/global/PDFSpools/30978.pdf'.
        N_FILE = P_FILE.
        CONCATENATE 'C:temp' RQ2NAME '.pdf' INTO ELPATH.
    *   Read Data from the App server
        OPEN DATASET  P_FILE FOR INPUT IN BINARY MODE .
        DO.
          READ DATASET P_FILE INTO REC.
          IF SY-SUBRC NE 0.
            EXIT.
          ELSE.
            L_ANN = REC.
            APPEND  L_ANN TO T_PDF .
          ENDIF.
        ENDDO.
        CLOSE DATASET P_FILE.
    *   How do i get the filesize ?
        CLEAR L_ANN.
        DESCRIBE TABLE T_PDF LINES LIN_TEXT.
        LOOP AT T_PDF INTO L_ANN.
          APPEND L_ANN TO T_ANN.
        ENDLOOP.
    *    Using this i get the file size
    *    CALL FUNCTION 'C13Z_RAWDATA_READ'
    *      EXPORTING
    *        I_FILE           = N_FILE
    *      IMPORTING
    *        E_FILE_SIZE      = L_SIZE
    *        E_LINES          = L_LINES
    *      TABLES
    *        E_RCGREPFILE_TAB = L_DATA_TAB
    *      EXCEPTIONS
    *        NO_PERMISSION    = 1
    *        OPEN_FAILED      = 2
    *        OTHERS           = 3.
    *    CLEAR L_ANN.
    *    DESCRIBE TABLE L_DATA_TAB LINES LIN_TEXT.
    *    LOOP AT L_DATA_TAB INTO L_DATA_WA.
    *      L_ANN-LINE = L_DATA_WA-ORBLK.
    *      APPEND L_ANN TO T_ANN.
    *    ENDLOOP.
        DOC_CHNG-OBJ_NAME   = 'URGENT'.
        DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
        DOC_CHNG-OBJ_DESCR  = TEXTS.
        DOC_CHNG-SENSITIVTY = 'O'.
    *   DOC_CHNG-DOC_SIZE   = LIN_TEXT * 255.
        CLEAR OBJPACK-TRANSF_BIN.
        OBJPACK-HEAD_START = 1.
        OBJPACK-HEAD_NUM   = 0.
        OBJPACK-BODY_START = 1.
    *   OBJPACK-BODY_NUM   = LIN_TEXT.
        OBJPACK-DOC_TYPE   = 'RAW'.
        APPEND OBJPACK.
        NOMFITXER = ELPATH.
        CALL FUNCTION 'SPLIT_FILENAME'
          EXPORTING
            LONG_FILENAME  = NOMFITXER
          IMPORTING
            PURE_EXTENSION = EXTENSIO.
        OBJPACK-TRANSF_BIN = 'X'.
        OBJPACK-HEAD_START = 1.
        OBJPACK-HEAD_NUM   = 1.
        OBJPACK-BODY_START = 1.
        OBJPACK-BODY_NUM   = LIN_TEXT.
        OBJPACK-DOC_TYPE   = EXTENSIO.
        OBJPACK-OBJ_NAME   = RQ2NAME.
        CONCATENATE RQ2NAME EXTENSIO
          INTO NOMFITXER SEPARATED BY '.'.
        OBJPACK-OBJ_DESCR = NOMFITXER.
        OBJPACK-DOC_SIZE  = L_SIZE * 255.
        APPEND OBJPACK.
        CALL FUNCTION 'BAPI_USER_GET_DETAIL'
          EXPORTING
            USERNAME = SY-UNAME
          TABLES
            RETURN   = BAPIRETUR
            ADDSMTP  = DADESUSER.
        READ TABLE BAPIRETUR WITH KEY TYPE = 'E'.
        IF SY-SUBRC NE 4.
        ELSE.
          READ TABLE DADESUSER INDEX 1.
    *     REMITENT = DADESUSER-E_MAIL.
          REMITENT = SY-UNAME.
        ENDIF.
        TEXTS = 'TEST MAIL'.
        APPEND TEXTS.
        DESTINATARIS-RECEIVER   = SY-UNAME.
        DESTINATARIS-REC_TYPE   = 'B'.
        DESTINATARIS-EXPRESS    = 'X'.
    *   DESTINATARIS-COM_TYPE   = 'INT'.
    *   DESTINATARIS-NOTIF_DEL  = 'X'.
    *   DESTINATARIS-NOTIF_NDEL = 'X'.
        APPEND DESTINATARIS.
        CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
             DOCUMENT_DATA                    = DOC_CHNG
             PUT_IN_OUTBOX                    = 'X'
             SENDER_ADDRESS                   = REMITENT
    *        SENDER_ADDRESS_TYPE              = 'SMTP'
             COMMIT_WORK                      = ' '
           IMPORTING
             SENT_TO_ALL                      = ENVIAT
    *        NEW_OBJECT_ID                    =
    *        SENDER_ID                        =
           TABLES
             PACKING_LIST                     = OBJPACK
    *        OBJECT_HEADER                    =
             CONTENTS_BIN                     = T_ANN
             CONTENTS_TXT                     = TEXTS
    *        CONTENTS_HEX                     =
    *        OBJECT_PARA                      =
    *        OBJECT_PARB                      =
            RECEIVERS                        = DESTINATARIS
          EXCEPTIONS
            TOO_MANY_RECEIVERS               = 1
            DOCUMENT_NOT_SENT                = 2
            DOCUMENT_TYPE_NOT_EXIST          = 3
            OPERATION_NO_AUTHORIZATION       = 4
            PARAMETER_ERROR                  = 5
            X_ERROR                          = 6
            ENQUEUE_ERROR                    = 7
            OTHERS                           = 8.
    Message was edited by: Poornanand Mandalika. Code was formatted using the <b>Code</b> button!!

    Assuming you are using Apache?
    You could place your Word docs in the same folder as your current Apex images directory (or a sub-directory off it) then reference them with a URL of the form http://yourserver/i/sample_word_file.doc. Alternatively you could add a new Alias entry to your dads.conf file (found in your Apache/modplsql/conf directory) to expose the folder on your webserver that contains your Word files via a URL such as http://yourserver/word_docs/
    E.g.
    Alias /word_docs/ "c:\my_docs\technical_word_docs/"
    Andy

  • Finding a pages URL once it is deployed to app server

    Hi, I have deployed a jheadstart application to Oracle Application Server, I know the context root, and an authentication window pops up if I enter the context folder after the server name, but I can't locate the page I want within the context folder, the server returns file not found errors on all the paths i've tried...
    How is the URL location of the pages determined? Is it built up from the file structure in the app server j2ee home, or does it depend on the application structure in Jdeveloper before deployment?
    The jheadstart app structure is: Application -> ViewController -> Web Content -> pages -> mypage.jspx
    The deployed folder structure in app server is : j2ee\home\applications\myapplication\ViewArchive\pages\mypage.jspx
    So in this case what would the URL be after the context root to bring up mypage.jspx ?

    Michael,
    Yes, you can add an index.jsp to yout web root dir, with the following content:
    <% response.sendRedirect("faces/pages/Home.jspx"); %>
    In JHeadstart 10.1.3.2 we will geenrate such a file as a convenience.
    You can also specify a welcome file in web.xml.
    Steven Davelaar,
    JHeadstart Team.

  • CL_GUI_PDFVIEWER and files from the App server

    Hi,
    I would liek to use the class CL_GUI_PDFVIEWER  to read files from the app server (transaction AL11) and then to present them.
    it is easy to use the local machine files.
    how can I use the method open_document with a file from there?
    Thanks,
    Itay

    Thanks for the help.
    I tried what you suggested but I get a dump for some reason.
    Can you help?
    This is the dump:
    Exception condition "SYSTEM_FAILURE" raised.
         Program                                      SAPLOLEA                    
         Include                                      LOLEAU10                    
         Row                                          358                         
         Module type                                  (FUNCTION)                  
         Module Name                                  AC_FLUSH_CALL_INTERNAL      
    This is the program:
    REPORT zpdftest .
    DATA: g_html_viewer     TYPE REF TO cl_gui_html_viewer,
          my_main_container TYPE REF TO cl_gui_custom_container,
          entry1(100) TYPE c,
          entry2(100) TYPE c.
    DATA: okcode TYPE sy-ucomm,
          gt_pdf TYPE STANDARD TABLE OF string,
          wa_pdf TYPE string,
          g_url(2048)  TYPE c
    START-OF-SELECTION.
      SET SCREEN 100.
    *&      Module  pbo_0100  OUTPUT
    MODULE pbo_0100 OUTPUT.
      SET PF-STATUS 'STATUS100'.
      SET TITLEBAR  'TITLE100'.
      IF my_main_container IS INITIAL.
        CREATE OBJECT my_main_container
          EXPORTING
            container_name = 'CUSTOM_CNTL'
          EXCEPTIONS
            cntl_error     = 1
            OTHERS         = 2.
        CHECK sy-subrc IS INITIAL.
        CREATE OBJECT g_html_viewer
          EXPORTING
            parent             = my_main_container
          EXCEPTIONS
            cntl_error         = 1
            cntl_install_error = 2
            dp_install_error   = 3
            dp_error           = 4
            OTHERS             = 5
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        DATA: lv_filename TYPE rlgrap-filename.
        lv_filename = '/PBMGUS/UXA/ABAP/TEST.PDF'.
        OPEN DATASET lv_filename FOR INPUT
                     IN BINARY MODE
        WHILE sy-subrc IS INITIAL.
          READ DATASET  lv_filename  INTO wa_pdf.
          IF NOT sy-subrc IS INITIAL.
            EXIT.
          ENDIF.
          APPEND wa_pdf TO gt_pdf.
        ENDWHILE.
        CLOSE DATASET lv_filename.
        CALL METHOD g_html_viewer->load_data
          EXPORTING
            type                 = 'application'
            subtype              = 'pdf'
          IMPORTING
            assigned_url         = g_url
          CHANGING
            data_table           = gt_pdf
          EXCEPTIONS
            dp_invalid_parameter = 1
            dp_error_general     = 2
            cntl_error           = 3
            OTHERS               = 4
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        CALL METHOD g_html_viewer->show_url
          EXPORTING
            url                    = g_url
          EXCEPTIONS
            cntl_error             = 1
            cnht_error_not_allowed = 2
            cnht_error_parameter   = 3
            dp_error_general       = 4
            OTHERS                 = 5
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.
    ENDMODULE.                 " pbo_0100  OUTPUT
    *&      Module  pai_0100  INPUT
    MODULE pai_0100 INPUT.
      CASE okcode.
        WHEN 'BACK'.
          LEAVE to screen 0.
        WHEN OTHERS.
          CALL METHOD cl_gui_cfw=>dispatch.
      ENDCASE.
      CLEAR okcode.
    ENDMODULE.                 " pai_0100  INPUT

  • How to make the App Server Listen for HTTPS

    I have a web application that needs to be accesible over an HTTPS connection, not HTTP.
    When I deploy an application with Java Studio Creator to the App Server it is automatically set to an HTTP URL. How do I setup HTTPS ?
    Thank you in advance,
    Joe Paladin

    Looks like I should have thanked myself in advance....
    Turns out its pretty easy. Open the admin console, go to configuration, add and HTTP listener, check the security check box, and fill out the other mandatory fields like the port. Standard SSL port is 443.
    Save changes, and restart the App Server. Any deployed apps should be reachable via https://localhost:443/myWebApp
    This approach uses a default certificate that comes with the app server. Here is a link if you want to create a certificate :
    http://java.sun.com/developer/technicalArticles/WebServices/appserv8-1.html
    Joe Paladin

  • Error installing the App Server 10.1.2.0.3 Metadata Repo Creation Asst

    Hi,
    I have upgraded the Database from 10.2.0.1 to 10.2.0.4,
    ORACLE_HOME=D:\oracle\product\10.2.0\db_1
    but while installing the App Server 10.1.2.0.3 Metadata Repo Creation Asst, im encountered with (in the OUI 'Destination' is Name:OracleAS1, Path:C:\OraHome_1)
    "There was error while loading the libaray:rgsQueries
    1. Stop Installation of all products
    2. Stop installation of this component only.
    Any help would be great.
    Regards,
    - Sri

    Anybody there to help me on this....
    Regards,
    - Sri

  • Adobe LiveCycle ES 8.2 Installation Error can't configure the App Server from Config Manager

    Hello All-
    We are trying to install the Adobe LiveCycle ES 8.2 SP2 and we are getting some issues while configuring the Application Server from the Config Manager, not sure why are those showing up, we never had these issues before when we installed 8.0, please look at the lcm log and the screenshot I provided for the errors which we are getting.
    We are trying to configure the remote Application Server WebSphere on Linux from my machine which is on Windows and i made the target Application Server as WebSphere and target platform as linux when i initially installed the livecycle media.
    The LCM logs say it failed to run the jacl scripts in the LiveCycle root directory and we wonder why is it pointing for the target Application Server to the Application Server which resides on my machine rather than it should point to the one on server. I am not sure what's going on and we did exactly what we did for 8.0.
    Below are the environment details where we are trying to install.
    Adobe LiveCycle ES: 8.2 SP2
    Database: IBM DB2 9.1 FP4.
    JVM Version and Vendor: 1.5.0 IBM Corporation
    Application server: IBM WebSphere Application Server/6.1.0.19
    Operating System: Linux
    Hardware: x86 .
    Any help will be appreciated!
    Thanks-
    Karthik.

    Hi All,
    Even i was facing the same issue but i was able to resolve it.
    Although the earlier reply from karthik_chowdary was sent way back in 2008 and i think would have got resolved till now, but still the resolution which i have found is
    The port i was using on the app server conf screen was that of application server HTTP Port.
    But here in case of WebSphere ND, we need to use port specified in WAS UI > System administrator > Deployment manager > Ports
    Try using that by default it is 8879.
    And this resolved the issue.
    ~Hkin

  • HELP! The App server stopped working!

    Everything was fine then I started getting this when trying to run the applicaiton. Note that it keeps giving this same error message over and over until I stop the app server.
    I did notice that the context-root was missing in the domain.xml as mentioned, so I put it back, but that still did not help.
    Any ideas?
    Starting Sun Java System Application Server Platform Edition 8.0.0_01 (build b08-fcs) ...
    [#|2005-04-13T17:17:53.474-0500|WARNING|sun-appserver-pe8.0.0_01|javax.enterprise.system.stream.err|_ThreadID=10;|java.util.logging.ErrorManager: 0: Error In getLogService  |#]
    java.util.logging.ErrorManager: 0: Error In getLogService java.util.logging.ErrorManager: 0: Error In getLogService
    recursive call into SystemOutandErrhandler
    java.lang.RuntimeException: recursivecall
         at com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingByteArrayOutputStream.flush(SystemOutandErrHandler.java:189)
         at java.io.PrintStream.write(PrintStream.java:260)
         at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
         at sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)
         at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:115)
         at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:169)
         at java.io.PrintStream.write(PrintStream.java:305)
         at java.io.PrintStream.print(PrintStream.java:448)
         at java.io.PrintStream.println(PrintStream.java:585)
         at com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingPrintStream.println(SystemOutandErrHandler.java:144)
         at java.util.logging.ErrorManager.error(ErrorManager.java:76)
         at com.sun.enterprise.server.logging.ServerLogManager.getLogService(ServerLogManager.java:284)
         at com.sun.enterprise.server.logging.FileandSyslogHandler.publish(FileandSyslogHandler.java:266)
         at java.util.logging.Logger.log(Logger.java:424)
         at java.util.logging.Logger.doLog(Logger.java:446)
         at java.util.logging.Logger.log(Logger.java:469)
         at com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingByteArrayOutputStream.flush(SystemOutandErrHandler.java:198)
         at java.io.PrintStream.write(PrintStream.java:260)
         at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
         at sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)
         at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:115)
         at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:169)
         at java.io.PrintStream.write(PrintStream.java:305)
         at java.io.PrintStream.print(PrintStream.java:448)
         at java.io.PrintStream.println(PrintStream.java:585)
         at com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingPrintStream.println(SystemOutandErrHandler.java:144)
         at java.util.logging.ErrorManager.error(ErrorManager.java:76)
         at com.sun.enterprise.server.logging.ServerLogManager.getLogService(ServerLogManager.java:284)
         at com.sun.enterprise.server.logging.ServerLogManager.reInitializeServerLoggers(ServerLogManager.java:468)
         at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:119)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:210)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:172)
         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.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    java.util.logging.ErrorManager: 0: Error In getLogService java.util.logging.ErrorManager: 0: Error In getLogService
    java.util.logging.ErrorManager: 0: Error In getLogService java.util.logging.ErrorManager: 0: Error In getLogService
    java.util.logging.ErrorManager: 0: Error In getLogService java.util.logging.ErrorManager: 0: Error In getLogService
    com.sun.enterprise.config.ConfigException: Error refreshing ConfigContext:C:\Sun\Creator\SunAppServer8\domains\creator\config\domain.xml
    cause: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
    Attribute "context-root" is required and must be specified for element type "web-module".
         at com.sun.enterprise.config.ConfigContextImpl.refresh(ConfigContextImpl.java:315)
         at com.sun.enterprise.config.ConfigContextImpl.refresh(ConfigContextImpl.java:397)
         at com.sun.enterprise.config.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:192)
         at com.sun.enterprise.config.ConfigBeansFactory.getConfigBeanByXPath(ConfigBeansFactory.java:36)
         at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getServerBean(ServerBeansFactory.java:84)
         at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getConfigModel(ServerBeansFactory.java:57)
         at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getConfigBean(ServerBeansFactory.java:95)
         at com.sun.enterprise.server.logging.ServerLogManager.getLogService(ServerLogManager.java:281)
         at com.sun.enterprise.server.logging.FileandSyslogHandler.publish(FileandSyslogHandler.java:266)
         at java.util.logging.Logger.log(Logger.java:424)
         at java.util.logging.Logger.doLog(Logger.java:446)
         at java.util.logging.Logger.log(Logger.java:469)
         at com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingByteArrayOutputStream.flush(SystemOutandErrHandler.java:198)
         at java.io.PrintStream.write(PrintStream.java:260)
         at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
         at sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)
         at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:115)
         at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:169)
         at java.io.PrintStream.write(PrintStream.java:305)
         at java.io.PrintStream.print(PrintStream.java:448)
         at java.io.PrintStream.println(PrintStream.java:585)
         at com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingPrintStream.println(SystemOutandErrHandler.java:144)
         at java.util.logging.ErrorManager.error(ErrorManager.java:76)
         at com.sun.enterprise.server.logging.ServerLogManager.getLogService(ServerLogManager.java:284)
         at com.sun.enterprise.server.logging.ServerLogManager.reInitializeServerLoggers(ServerLogManager.java:468)
         at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:119)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:210)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:172)
         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.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    Caused by: org.netbeans.modules.schema2beans.Schema2BeansNestedException: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
    Attribute "context-root" is required and must be specified for element type "web-module".
         at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:718)
         at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2262)
         at com.sun.enterprise.config.ConfigContextImpl.refresh(ConfigContextImpl.java:293)
         ... 32 more
    Caused by: org.xml.sax.SAXParseException: Attribute "context-root" is required and must be specified for element type "web-module".
         at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:266)
         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:206)
         at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:714)
         ... 34 more

    No, I did not modify the web.xml file. I did modify the applicationContext-jdbc.xml file though (Spring related) just before this started to happen.
    Also, I was adding some logic to the ApplicationBean just before the problem occured.

  • Running the App Server as a user other than root

    We used to use iPlanet Web Server which during installation allowed you to specify which user you wanted to run the Web Server. This was very good for security. How do you do this with the App server ?
    Thanks
    PS We are running it on Solaris 9.

    Application Server 7 expands on the flexibility offered in the web server.
    The most basic means to define app server instances with non-root users is to create an administrative domain (basically, an admin server instance) using the user ID of interest. As you create new application server instances in the admin domain, you can assign the same user ID to the instances.
    (There is an admin domain that is initially configured as part of the app server installation. If you installed the product as root, then the admin server and the initially configured app server instance are owned by root. If you do not want these instances to be owned by root, you should remove this admin domain and create a new one that is owned by a non-root user.)
    For example, with the following command, I've created a new app server config (an administrative domain) containing an admin server owned by user "ckamps":
    root@canteloupe-{}: asadmin create-domain sysuser ckamps adminuser admin adminpassword password adminport 5050 ckamps.domain3
    Created Domain ckamps.domain3 successfully
    root@canteloupe-{}:
    Then I create an app server instance within this admin domain:
    root@canteloupe-{}: asadmin create-instance domain ckamps.domain3 sysuser ckamps --instanceport 80 instance1
    Created Instance instance1 successfully
    Note the use of the "--sysuser" option to specify the user that owns both the admin domain as well as the app server instance.
    You can either use root to define the admin domain and the instances (in which case you need to specify the sysuser option to force a non-root ownership) or you can use a non-root user to define the admin domain and app server instances.  In the latter case, specification of the sysuser is not required.
    Since my instance is defined to listen on a privileged port, I'll need to set the "run as user" in the <instance-dir>/config/init.conf file (similar to magnus.conf in Sun ONE Web Server 6) AND ensure that I start the instance as root. Once the server instance starts up as root, it will automatically switch to the run as user.
    The "User" setting below is the "run as user" specified in the admin console's "Create new instance" wizard.
    <snip of init.conf>
    NetsiteRoot /usr/appserver
    ServerID instance3
    ServerName canteloupe
    PidLog /var/appserver/domains/ckamps.domain3/instance3/logs/pid
    User ckamps
    DNS off
    </snip>
    Alternatively, you can start up the newly defined admin server and create the new app server instance through the admin console.
    Hope this helps,
    Chris

  • What's consuming the app server heap memory?

    Dear all,
    I keep getting the "java.lang.OutOfMemoryError: Java heap space" error in our environment, I tried to remove the BAM from the Jboss, and the error disappear for some times, but it appear again recently, while we only changed one line of script in one of the form. (i.e. I don't think the error is caused by changing code)
    So, I would like to know where can I find some information about how the memory is consumed in ALC? Because we only have 2 workflow running, although one of them is heavily used.
    Here some information about my environment.
    - ALC 8.2.1 with no sp
    - Using the default Jboss as app server
    - Using the default MySQL as Database
    - Only 2 workflow running
      - While 1 of them have around 4 - 8 request pre week
      - And the others will have around 60 - 80 request pre day (i.e. around 490 pre week)
    Here listed some points I think may affect the memory and I want to know for sure:
    1) Number of variable used in long-live process (i.e. More variable = more Memory used)
    2) Number of operation used in long-live process (i.e. More operation = more memory used)
    3) Number of track record of long-live process (i.e. More track record = more memory used)
    4) Long-lived process vs Short-lived process (i.e. Only long-lived process will keep consume memory because short-lived process will only load on call?)
    5) Number of long-lived process still running (i.e. If we send a assign task to notify the user the workflow have been approved, and the user never dismiss it, it will turn out to consume the app server memory because it is still in the running stage)
    6) Old version of the same long-lived process will use memory even no active workflow? (i.e. Because active long-live process will load up into memory?)
    Thanks in advance
    Regards
    Bill

    Did you tried to increase your heap size in jboss server . try this  and i think it will  help you in solving this problem .
    if u want  to know how to increase the heap size:
    go to bath of ur JBoss    "D:\Adobe\Adobe LiveCycle ES2\jboss\bin" as example.
    scond find the Run file and  open it in  Text File
    find a line  which is responsible for   heap size ==>>"set JAVA_HEAP_ARGS=-XX:PermSize=128m -XX:MaxPermSize=192m -Xms1024m -Xmx1024m"
    close it and restart the server again and test your problem.
    put ur line to be like what i wrote 1024 means that 1 giga for heap of jboss.
    if the problem still appear for  you then your Memory doesnot of because memory heap size

  • [svn:bz-4.0.0_fixes] 16148: Update config testsuite on 4.0. 0_fixes branch to force kill the app server before running any tests when the app server is Tomcat .

    Revision: 16148
    Revision: 16148
    Author:   [email protected]
    Date:     2010-05-17 06:40:40 -0700 (Mon, 17 May 2010)
    Log Message:
    Update config testsuite on 4.0.0_fixes branch to force kill the app server before running any tests when the app server is Tomcat. The regression runs were hanging on this branch when going to run the config suite because the Tomcat server isn't shutting down cleanly at the end of the MXUnit run. I believe this is an issue with the version of ActiveMQ we are using. Since I don't think we want to update ActiveMQ on this branch force killing the Tomcat server will workaround the problem.
    Modified Paths:
        blazeds/branches/4.0.0_fixes/qa/apps/qa-regress/testsuites/config/build.xml

    Hi,
    Thanks for the reply. I have tried this on another machine running the same version of Blackboard. It works fine.
    Only difference is that the machine that has the JVM crash is running on Fujitsu PrimePower and the OS is Solaris 9 (but twigged for PrimePower).
    The one where it runs and starts up successfully is running on SunFire (OS is Solaris 10).
    I am wondering if there is a problem with the JVM loading required libraries because of the OS being different versions.
    Any leads on this is welcomed. Thank you.
    Regards,
    Hon Peng
    ===================
    On Fujitsu Primepower
    SunOS 5.9 Generic_118558-33 sun4us sparc FJSV,GPUS
    the Dependencies for libjvm.so are as follows:
    ===================
    bash-2.05$ ldd -r libjvm.so
    libsocket.so.1 => /usr/lib/libsocket.so.1
    libsched.so.1 => /usr/lib/libsched.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libCrun.so.1 => /usr/lib/libCrun.so.1
    libm.so.1 => /usr/lib/libm.so.1
    libthread.so.1 => /usr/lib/libthread.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libmp.so.2 => /usr/lib/libmp.so.2
    /usr/platform/FJSV,GPUS/lib/libc_psr.so.1
    =====================================
    On SunFire, Sun machine
    SunOS 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-280R
    the dependencies are different for the libjvm.so:
    =====================================
    bash-2.05$ ldd -r libjvm.so
    libsocket.so.1 => /lib/libsocket.so.1
    libsched.so.1 => /usr/lib/libsched.so.1
    libdl.so.1 => /lib/libdl.so.1
    libCrun.so.1 => /usr/lib/libCrun.so.1
    libm.so.1 => /lib/libm.so.1
    libthread.so.1 => /lib/libthread.so.1
    libc.so.1 => /lib/libc.so.1
    libnsl.so.1 => /lib/libnsl.so.1
    libmp.so.2 => /lib/libmp.so.2
    libmd5.so.1 => /lib/libmd5.so.1
    libscf.so.1 => /lib/libscf.so.1
    libdoor.so.1 => /lib/libdoor.so.1
    libuutil.so.1 => /lib/libuutil.so.1
    /platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1
    libm.so.2 => /lib/libm.so.2
    /platform/SUNW,Sun-Fire-280R/lib/libmd5_psr.so.1

  • On installation of the app server, was asked for a key that is supposed to come with the welcome letter. How do I get a welcome letter?

    I bought the Solaris 9 media which brought the iPlanet servers. When installing the app server, I was asked for a key in a welcome letter. I don't seem to have one. How can I get the key to install the servers

    No matter how many times you ask this question, the answer is going to be the same.
    You can submit feedback to Apple here:
    http://www.apple.com/feedback

  • Finding the app. server and system number when importing RFC

    hello experts
    I would like to import RFC and I seem to forgot the app. server, and its system number. where can I find it?
    Thanks
    Kfir

    Hi
    Go to SAP Logon single click on your system and again single click at option change item..that will present at left side of your saplogon pad
    you will get all the information regarding that system on which you have clicke first.

  • Finding the app server name

    Is there a way to find the app server name through peoplecode?
    The %appserver meta-html variable isn't available through peoplecode and looks like it only resolves when it is used as part of a page source (CNTL+J info page, for example). Our process server and app servers are different, and a user could be logged in through three different app servers. I'm hoping there is a way to get the equivalent of the %appserver meta-html sys variable.
    Thanks,
    Paul

    Hi
    Go to SAP Logon single click on your system and again single click at option change item..that will present at left side of your saplogon pad
    you will get all the information regarding that system on which you have clicke first.

  • How to tell if the app server is running (on windows)

    Folks,
    I'm trying to write a deploy.bat - to build and deploy (using ant) my enterprise-app and web-services (the firstcup example)
    ... I'm stuck on winblows (for now) ...
    The deploy depends on the app server... so if it's not running, I'd like to start it automagically... but I've fallen on the first hurdle... I can't figure out how your supposed to determine if the server is up.
    Please can anyone help?
    FYI: I had a bit of a play with the asadmin tool and found:C:\Java\src\Tutorials\Sun\firstcup\example\firstcup>asadmin version
    Unable to communicate with admin server, getting version locally.
    Version = Sun Java System Application Server Platform Edition 9.0_01
    Command version executed successfully.
    C:\Java\src\Tutorials\Sun\firstcup\example\firstcup>echo %ERRORLEVEL%
    0which looks promising... I can grep for the "Unable to communicate with admin server" (using a perl one-liner)... butt ugly but effective (for now).
    TIA. Keith.
    PS: There doesn't seem to be an application server forum???

    Folks,
    Firstly, Thanx for the underwhelming response :-)
    I've got a working workaround.
    I created a "hello world" webapp which I hit it from a CGI script.
    It should be (slightly) more robust (and portable) than grepping for error messages from the asadmin version utility.
    Shame I'm dependant on the "old hat" for the new goose though.
    Cheers anyway. Keith.

Maybe you are looking for

  • No permission / access denied-message when importing cds to external hd

    Hello all, I can't import cds to my library folder on the external usb hd. This happens after I did the following: • I have an iTunes library on an ext hd which used to be connected and which I used to admin via pc • I connected it to my MacBook and

  • Buying Items from the US store while I am in Canada

    Hi all, I tried to use the search function..but was unable to find the info. I got my new Ipod video on Friday.. and much to my disgust.. I found out that the TV shows and ALOT of videos I can't get in Canada. Is there away around this? I can put a f

  • How to enable "what u hear"

    % hi, i have a sound blaster 5. vx , driver version 5.2..206, running windows 7, but i cant seem to enable 'what u hear' for recording. i've tried recording devices - show disabled devices, but all it shows is mic and line in... any help would be app

  • Inserting a Column on a report

    How do I insert a column with fixed contents into a report? I currently have two columns on the report and I'm doing a Union so I need to insert a 3rd column with a fixed text based on the criteria. For example, the inserted column for the first sect

  • Laptop restarts instead of awakes

    Of course right on the day after day of my 1 yr warranty I have this problem, which was a day ago! I never had a  problem with this laptop the entire year. Then it appeared that after a MS update the problem started, at least I thought, or in could h