Web Server code !!

hi friends !!
can any1 provide a simple http web server code which also acts as a servlet container. it should also access the form data.
pls help me...i am in urgent need !!!
with regards,
n@v

Stupid dolt! Ever heard of Tomcat???

Similar Messages

  • Open Web Server code has been updated

    This is to announce that [Open Web Server|http://wikis.sun.com/display/wsFOSS/Open+Web+Server] code has been updated. It has all relevant bug fixes that went into Sun Java System Web Server 7.0 update 4 and 5 releases.

    Arvind_Srinivasan wrote:
    Merging the changes that rcrit and river tarnell contributed is in the plan.
    [For River Tarnell's changes|http://loreley.flyingparchment.org.uk/pages/ows], we do not have IPS repository for HP-UX. So how do I make defines*.mk? Where should I get components from and what should be the default location of those?
    The following diffs look ok.
    diff -cr webserver/src/server/plugins/fastcgi/Makefile webserver-old/src/server/plugins/fastcgi/Makefile
    *** webserver/src/server/plugins/fastcgi/Makefile     Tue Feb 17 08:10:44 2009
    --- webserver-old/src/server/plugins/fastcgi/Makefile     Mon Feb 16 13:19:21 2009
    *** 50,55 ****
    --- 50,63 ----
      LOCAL_LIBDIRS+=../../libserverxml/$(OBJDIR)
      LOCAL_LIBDIRS+=../../libsi18n/$(OBJDIR)
      LOCAL_LIBDIRS+=../../../support/support/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../../support/filecache/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../../support/time/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../../support/NsprWrap/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../../support/threadpool/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../../support/xp/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../../support/libdbm/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../../support/ares/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../../support/libxsd2cpp/$(OBJDIR)
      DLL_TARGET=fastcgi
      DLL_OBJS=errortypes util fastcgii18n serverconfig fcgirequest fcgiparser serverchannel
    diff -cr webserver/src/server/plugins/htaccess/Makefile webserver-old/src/server/plugins/htaccess/Makefile
    *** webserver/src/server/plugins/htaccess/Makefile     Tue Feb 17 08:10:45 2009
    --- webserver-old/src/server/plugins/htaccess/Makefile     Mon Feb 16 13:18:22 2009
    *** 43,48 ****
    --- 43,57 ----
      LOCAL_LIBDIRS+=../../libcrypt/$(OBJDIR)
      LOCAL_LIBDIRS+= ../../webservd/$(OBJDIR)
      LOCAL_LIBDIRS+= ../../../support/support/$(OBJDIR)
    +  LOCAL_LIBDIRS+=../../../support/filecache/$(OBJDIR)
    +  LOCAL_LIBDIRS+=../../../support/time/$(OBJDIR)
    +  LOCAL_LIBDIRS+=../../../support/NsprWrap/$(OBJDIR)
    +  LOCAL_LIBDIRS+=../../../support/threadpool/$(OBJDIR)
    +  LOCAL_LIBDIRS+=../../../support/xp/$(OBJDIR)
    +  LOCAL_LIBDIRS+=../../../support/libdbm/$(OBJDIR)
    +  LOCAL_LIBDIRS+=../../../support/ares/$(OBJDIR)
    +  LOCAL_LIBDIRS+=../../../support/libxsd2cpp/$(OBJDIR)
    +  LOCAL_LIBDIRS+=../../libsi18n/$(OBJDIR)
      DLL_TARGET=htaccess
      DLL_OBJS=http_access http_auth http_config http_register util main list
    diff -cr webserver/src/server/plugins/shtml/Makefile webserver-old/src/server/plugins/shtml/Makefile
    *** webserver/src/server/plugins/shtml/Makefile     Tue Feb 17 08:10:46 2009
    --- webserver-old/src/server/plugins/shtml/Makefile     Mon Feb 16 13:17:29 2009
    *** 47,52 ****
    --- 47,62 ----
      DLL_LIBS+=$(DAEMON_DLL)
      LOCAL_LIBDIRS+=../../webservd/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../../support/filecache/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../../support/time/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../../support/NsprWrap/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../../support/support/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../../support/threadpool/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../../support/xp/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../../support/libdbm/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../../support/ares/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../../support/libxsd2cpp/$(OBJDIR)
    + LOCAL_LIBDIRS+=../../libsi18n/$(OBJDIR)
      DLL_NONPARSED_OBJS=../../shtml/$(OBJDIR)/ShtmlPlugin.$(OBJ)
      SHIP_PUBLIC_DYNAMIC_LIBRARIES=$(DLL_TARGET)
    $diff -wr webserver/templates/Makefile webserver-old/templates/Makefile
    75,77d74
    < ifeq ($(OS_ARCH), HP-UX)
    < WS_SERVER_TEMPDIR=$(shell mktemp -d /tmp -p $(WS_INSTANCE_NAME)-)
    < else
    79d75
    < endif

  • Uploading Multiple Files from web client to web server

    Am using a Digitally signed applet to pickup files from a specific directory and only to pickup those of a specific type. Applet is called by a HTML converted page and uses the JAVA 1.3.1 plug-in. Client side is ok, but the server side does not work - cannot see how to drop the files down onto the web server.
    code
    URL url = null ;
    FileInputStream filReader = null ;
    DataOutputStream dosOutfile = null ;
    HttpURLConnection httpUrlConn = null ;
    int bytes = 0 ;
    //read local file on client's hd with signed applet
    try
    filReader = new FileInputStream( new File( fromFile ) );
    catch ( java.io.FileNotFoundException eNotFound )
    DisplayStatus ( fromFile + " Not found");
    eNotFound.printStackTrace();
    // start setup to server-side copy of in file
    try
    url = new URL ( toFile ) ;
    catch ( java.net.MalformedURLException eMalFormedUrl )
    DisplayStatus ( url + " url mal formed");
    eMalFormedUrl.printStackTrace();
    // create a HttpUrl connection for POSTING
    try
    httpUrlConn = (HttpURLConnection) url.openConnection(); // do not remove this casting, as needed
    catch ( java.io.IOException eIoException )
    DisplayStatus ( url + " IO not possible");
    eIoException.printStackTrace();
    // set preferences
    httpUrlConn.setDoInput(true); // default value, but best make sure
    httpUrlConn.setDoOutput(true); // default value, but best make sure
    httpUrlConn.setUseCaches(false); // enable write straight through
    try
    httpUrlConn.setRequestMethod("POST") ;
    // httpUrlConn.setRequestMethod("PUT") ;
    } catch ( java.net.ProtocolException eProtEx )
    DisplayStatus ( "Protocol Exception on setting up POST") ;
    eProtEx.printStackTrace();
    httpUrlConn.setRequestProperty("Content-Type", "multipart/form-data");
    // permissions?
    try
    java.security.Permission permission = httpUrlConn.getPermission() ;
    if ( iDebug == true )
    DisplayStatus ("Permission = " + permission.toString() ) ;
    DisplayStatus ( "Actions = " + permission.getActions() ) ;
    DisplayStatus ( "Name = " + permission.getName() ) ;
    catch ( java.io.IOException eUrlIOConnException )
    DisplayStatus ( "httpUrl " + httpUrlConn + " IO not possible");
    DisplayStatus ( eUrlIOConnException.toString() ) ;
    eUrlIOConnException.printStackTrace();
    // connect
    try
    this.VerifyHttpResponseCode ( httpUrlConn.getResponseCode() ) ;
    DisplayStatus ("About to connect") ;
    httpUrlConn.connect() ;
    DisplayStatus ("Connected") ;
    if ( iDebug == true )
    DisplayStatus ("Connected Content Encoding = " + httpUrlConn.getContentEncoding() ) ;
    DisplayStatus ("Connected Content Length = " + httpUrlConn.getContentLength() ) ;
    DisplayStatus ("Connected Content Type = " + httpUrlConn.getContentType() ) ;
    DisplayStatus ("Connected default allow user interaction = " + httpUrlConn.getDefaultAllowUserInteraction() ) ;
    DisplayStatus ("Connected File Map = " + httpUrlConn.getFileNameMap() ) ;
    DisplayStatus ("Connected request method = " + httpUrlConn.getRequestMethod() ) ;
    DisplayStatus ("Connected response code = " + httpUrlConn.getResponseCode() ) ;
    DisplayStatus ("Connected response message = " + httpUrlConn.getResponseMessage() ) ;
    DisplayStatus ("Connected = " + httpUrlConn.getURL() ) ;
    } // end of debug print out status
    catch ( java.net.ConnectException eConnEx )
    this.DisplayStatus ( "Connection error - no server listening or incorrect port " ) ;
    this.DisplayStatus ( "Connection error - http = " + httpUrlConn) ;
    eConnEx.printStackTrace();
    catch ( java.io.IOException eUrlConnException )
    DisplayStatus ( "url " + url + " connection not possible");
    DisplayStatus ( eUrlConnException.toString() ) ;
    eUrlConnException.printStackTrace();
    // create file on server
    try
    dosOutfile = new DataOutputStream ( new BufferedOutputStream( httpUrlConn.getOutputStream () ) ) ;
    catch ( java.io.IOException eNewFileIO )
    DisplayStatus ("Unable to create file on server / buffer output stream " + toFile ) ;
    // copy files char by char for the moment, till testing complete
    try
    bytes = filReader.read();
    while(bytes != -1)
    dosOutfile.writeByte(bytes);
    bytes = filReader.read();
    // close both files
    dosOutfile.flush ();
    dosOutfile.close ();
    filReader.close();
    catch (java.io.IOException eCpyIo )
    DisplayStatus ("Error copying files") ;
    connection of the HttpURLConnection
    gives 'Fobbiden' response for 'PUT'
    and
    'method not allowed' for 'POST'
    trying to create the file on the server than causes IOException at the create DataStream line
    What am I doing wrong?
    Is this philosphy correct?
    Should the HttpURLConnection be to the target folder
    and then create the file in it?

    hello,
    first here is my interpretation of your prob.
    You have a client.From this client you are trying to upload files onto a server.
    Finding the files and reading them on the client side is not a prob. The prob is storing them on the server side.
    right?
    If the above stated prob is right, here is a solution.
    1. You have to first inform the server that you are sending the file. Unless you do so the server will not understand when you have started sending the file.
    So, initially, the applet which you have written need to communicate with a servlet on the server side.
    This can be done using reqs.. .get or post.In the req itself you can even send the name of the folder wherein you want to store the file you are going to transfer later on.
    Next, after receiving the folder name, the servlet can now understand that next file data is going to be received.
    The applet now sends the file which is received by the servlet and stored appropriately.
    You need to explicitly write a servlet to receive a data into the file and then store the file into appropriate folder.
    for any further probs email me at [email protected]

  • Writing a web server.

    i am trying to write a tiny web server, with a gui, and want the gui to be a able to stop and start the server, the server is in a separate class called web server, and i need some code to destroy the instance of the class. thx in advance.

    web server code
    package tinywebserver;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    class WebServer implements HttpConstants {
        /* static class data/methods */
        /* print to stdout */
        protected static void p(String s) {
            GUI.main.append(s + "\n");
            System.out.println(s);
        /* our server's configuration information is stored
         * in these properties
        protected static Properties props = new Properties();
        /* Where worker threads stand idle */
        static Vector threads = new Vector();
        /* the web server's virtual root */
        static File root;
        /* timeout on client connections */
        static int timeout = 0;
        /* max # worker threads */
        static int workers = 5;
        //port to serve from
        static int port = 8080;
        /* load www-server.properties from java.home */
        static void loadProps() throws IOException {
            File f = new File("server.properties");
            if (f.exists()) {
                InputStream is =new BufferedInputStream(new
                               FileInputStream(f));
                props.load(is);
                is.close();
                String r = props.getProperty("root");
                if (r != null) {
                    root = new File(r);
                    if (!root.exists()) {
                        throw new Error(root + " doesn't exist as server root");
                r = props.getProperty("timeout");
                if (r != null) {
                    timeout = Integer.parseInt(r);
                r = props.getProperty("workers");
                if (r != null) {
                    workers = Integer.parseInt(r);
                r = props.getProperty("serverPort");
                if (r != null) {
                    port = Integer.parseInt(r);
            /* if no properties were specified, choose defaults */
            if (root == null) {
                root = new File(System.getProperty("user.dir")+File.separator+"html");
            if (timeout <= 1000) {
                timeout = 5000;
            if (workers < 25) {
                workers = 5;
        static void printProps() {
            p("Tiny Web Server Starting on " + System.getProperty("os.name") +" "+System.getProperty("os.arch"));
            p("root="+root);
            p("timeout="+timeout);
            p("workers="+workers);
            p("port="+port);
        public static void start() throws Exception{
            loadProps();
            printProps();
            /* start worker threads */
            for (int i = 0; i < workers; ++i) {
                Worker w = new Worker();
                (new Thread(w, "worker #"+i)).start();
                 threads.addElement(w);
            ServerSocket ss = new ServerSocket(port);
            while (true) {
                Socket s = ss.accept();
                Worker w = null;
                synchronized (threads) {
                    if (threads.isEmpty()) {
                        Worker ws = new Worker();
                        ws.setSocket(s);
                        (new Thread(ws, "additional worker")).start();
                    }else {
                        w = (Worker) threads.elementAt(0);
                        threads.removeElementAt(0);
                        w.setSocket(s);
    class Worker extends WebServer implements HttpConstants, Runnable {
        final static int BUF_SIZE = 2048;
        static final byte[] EOL = {(byte)'\r', (byte)'\n' };
        /* buffer to use for requests */
        byte[] buf;
        /* Socket to client we're handling */
        private Socket s;
        Worker() {
            buf = new byte[BUF_SIZE];
            s = null;
        synchronized void setSocket(Socket s) {
            this.s = s;
            notify();
        public synchronized void run() {
            while(true) {
                if (s == null) {
                    /* nothing to do */
                    try {
                        wait();
                    } catch (InterruptedException e) {
                        /* should not happen */
                        continue;
                try {
                    handleClient();
                } catch (Exception e) {
                    e.printStackTrace();
                /* go back in wait queue if there's fewer
                 * than numHandler connections.
                s = null;
                Vector pool = WebServer.threads;
                synchronized (pool) {
                    if (pool.size() >= WebServer.workers) {
                        /* too many threads, exit this one */
                        return;
                    } else {
                        pool.addElement(this);
        void handleClient() throws IOException {
            InputStream is = new BufferedInputStream(s.getInputStream());
            PrintStream ps = new PrintStream(s.getOutputStream());
            /* we will only block in read for this many milliseconds
             * before we fail with java.io.InterruptedIOException,
             * at which point we will abandon the connection.
            s.setSoTimeout(WebServer.timeout);
            s.setTcpNoDelay(true);
            /* zero out the buffer from last time */
            for (int i = 0; i < BUF_SIZE; i++) {
                buf[i] = 0;
            try {
                /* We only support HTTP GET/HEAD, and don't
                 * support any fancy HTTP options,
                 * so we're only interested really in
                 * the first line.
                int nread = 0, r = 0;
    outerloop:
                while (nread < BUF_SIZE) {
                    r = is.read(buf, nread, BUF_SIZE - nread);
                    if (r == -1) {
                        /* EOF */
                        return;
                    int i = nread;
                    nread += r;
                    for (; i < nread; i++) {
                        if (buf[i] == (byte)'\n' || buf[i] == (byte)'\r') {
                            /* read one line */
                            break outerloop;
                /* are we doing a GET or just a HEAD */
                boolean doingGet;
                /* beginning of file name */
                int index;
                if (buf[0] == (byte)'G' &&
                    buf[1] == (byte)'E' &&
                    buf[2] == (byte)'T' &&
                    buf[3] == (byte)' ') {
                    doingGet = true;
                    index = 4;
                } else if (buf[0] == (byte)'H' &&
                           buf[1] == (byte)'E' &&
                           buf[2] == (byte)'A' &&
                           buf[3] == (byte)'D' &&
                           buf[4] == (byte)' ') {
                    doingGet = false;
                    index = 5;
                } else {
                    /* we don't support this method */
                    ps.print("HTTP/1.0 " + HTTP_BAD_METHOD +
                               " unsupported method type: ");
                    ps.write(buf, 0, 5);
                    ps.write(EOL);
                    ps.flush();
                    s.close();
                    return;
                int i = 0;
                /* find the file name, from:
                 * GET /foo/bar.html HTTP/1.0
                 * extract "/foo/bar.html"
                for (i = index; i < nread; i++) {
                    if (buf[i] == (byte)' ') {
                        break;
                String fname = (new String(buf, 0, index,
                          i-index)).replace('/', File.separatorChar);
                if (fname.startsWith(File.separator)) {
                    fname = fname.substring(1);
                File targ = new File(WebServer.root, fname);
                if (targ.isDirectory()) {
                    File ind = new File(targ, "index.html");
                    if (ind.exists()) {
                        targ = ind;
                boolean OK = printHeaders(targ, ps);
                if (doingGet) {
                    if (OK) {
                        sendFile(targ, ps);
                    } else {
                        send404(targ, ps);
            } finally {
                s.close();
        boolean printHeaders(File targ, PrintStream ps) throws IOException {
            boolean ret = false;
            int rCode = 0;
            if (!targ.exists()) {
                rCode = HTTP_NOT_FOUND;
                ps.print("HTTP/1.0 " + HTTP_NOT_FOUND + " not found");
                ps.write(EOL);
                ret = false;
            }  else {
                rCode = HTTP_OK;
                ps.print("HTTP/1.0 " + HTTP_OK+" OK");
                ps.write(EOL);
                ret = true;
            p("\nRequest from " +s.getInetAddress().getHostAddress()+": GET " + targ.getAbsolutePath()+"-->"+rCode);
            ps.print("Server: Simple java, Tiny Web Server");
            ps.write(EOL);
            ps.print("Date: " + (new Date()));
            ps.write(EOL);
            if (ret) {
                if (!targ.isDirectory()) {
                    ps.print("Content-length: "+targ.length());
                    ps.write(EOL);
                    ps.print("Last Modified: " + (new
                                  Date(targ.lastModified())));
                    ps.write(EOL);
                    String name = targ.getName();
                    int ind = name.lastIndexOf('.');
                    String ct = null;
                    if (ind > 0) {
                        ct = (String) map.get(name.substring(ind));
                    if (ct == null) {
                        ct = "unknown/unknown";
                    ps.print("Content-type: " + ct);
                    ps.write(EOL);
                } else {
                    ps.print("Content-type: text/html");
                    ps.write(EOL);
            return ret;
        void send404(File targ, PrintStream ps) throws IOException {
            ps.write(EOL);
            ps.write(EOL);
            ps.println("404 error, the requested object was not found\n\n"+
                       "The requested resource was not found.\n\n\nTiny Web Server has encountered an error.");
        void sendFile(File targ, PrintStream ps) throws IOException {
            InputStream is = null;
            ps.write(EOL);
            if (targ.isDirectory()) {
                listDirectory(targ, ps);
                return;
            } else {
                is = new FileInputStream(targ.getAbsolutePath());
            try {
                int n;
                while ((n = is.read(buf)) > 0) {
                    ps.write(buf, 0, n);
            } finally {
                is.close();
        /* mapping of file extensions to content-types */
        static java.util.Hashtable map = new java.util.Hashtable();
        static {
            fillMap();
        static void setSuffix(String k, String v) {
            map.put(k, v);
        static void fillMap() {
            setSuffix("", "content/unknown");
            setSuffix(".uu", "application/octet-stream");
            setSuffix(".exe", "application/octet-stream");
            setSuffix(".ps", "application/postscript");
            setSuffix(".zip", "application/zip");
            setSuffix(".sh", "application/x-shar");
            setSuffix(".tar", "application/x-tar");
            setSuffix(".snd", "audio/basic");
            setSuffix(".au", "audio/basic");
            setSuffix(".wav", "audio/x-wav");
            setSuffix(".gif", "image/gif");
            setSuffix(".jpg", "image/jpeg");
            setSuffix(".jpeg", "image/jpeg");
            setSuffix(".htm", "text/html");
            setSuffix(".html", "text/html");
            setSuffix(".text", "text/plain");
            setSuffix(".c", "text/plain");
            setSuffix(".cc", "text/plain");
            setSuffix(".c++", "text/plain");
            setSuffix(".h", "text/plain");
            setSuffix(".pl", "text/plain");
            setSuffix(".txt", "text/plain");
            setSuffix(".java", "text/plain");
        void listDirectory(File dir, PrintStream ps) throws IOException {
            ps.println("<TITLE>Directory listing</TITLE><P>\n");
            ps.println("<A HREF=\"..\">Parent Directory</A><BR>\n");
            String[] list = dir.list();
            for (int i = 0; list != null && i < list.length; i++) {
                File f = new File(dir, list);
    if (f.isDirectory()) {
    ps.println("<A HREF=\""+list[i]+"/\">"+list[i]+"/</A><BR>");
    } else {
    ps.println("<A HREF=\""+list[i]+"\">"+list[i]+"</A><BR");
    ps.println("<P><HR><BR><I>Tiny Web Server on "+ port + " at " + (new Date()) + "</I>");
    interface HttpConstants {
    /** 2XX: generally "OK" */
    public static final int HTTP_OK = 200;
    public static final int HTTP_CREATED = 201;
    public static final int HTTP_ACCEPTED = 202;
    public static final int HTTP_NOT_AUTHORITATIVE = 203;
    public static final int HTTP_NO_CONTENT = 204;
    public static final int HTTP_RESET = 205;
    public static final int HTTP_PARTIAL = 206;
    /** 3XX: relocation/redirect */
    public static final int HTTP_MULT_CHOICE = 300;
    public static final int HTTP_MOVED_PERM = 301;
    public static final int HTTP_MOVED_TEMP = 302;
    public static final int HTTP_SEE_OTHER = 303;
    public static final int HTTP_NOT_MODIFIED = 304;
    public static final int HTTP_USE_PROXY = 305;
    /** 4XX: client error */
    public static final int HTTP_BAD_REQUEST = 400;
    public static final int HTTP_UNAUTHORIZED = 401;
    public static final int HTTP_PAYMENT_REQUIRED = 402;
    public static final int HTTP_FORBIDDEN = 403;
    public static final int HTTP_NOT_FOUND = 404;
    public static final int HTTP_BAD_METHOD = 405;
    public static final int HTTP_NOT_ACCEPTABLE = 406;
    public static final int HTTP_PROXY_AUTH = 407;
    public static final int HTTP_CLIENT_TIMEOUT = 408;
    public static final int HTTP_CONFLICT = 409;
    public static final int HTTP_GONE = 410;
    public static final int HTTP_LENGTH_REQUIRED = 411;
    public static final int HTTP_PRECON_FAILED = 412;
    public static final int HTTP_ENTITY_TOO_LARGE = 413;
    public static final int HTTP_REQ_TOO_LONG = 414;
    public static final int HTTP_UNSUPPORTED_TYPE = 415;
    /** 5XX: server error */
    public static final int HTTP_SERVER_ERROR = 500;
    public static final int HTTP_INTERNAL_ERROR = 501;
    public static final int HTTP_BAD_GATEWAY = 502;
    public static final int HTTP_UNAVAILABLE = 503;
    public static final int HTTP_GATEWAY_TIMEOUT = 504;
    public static final int HTTP_VERSION = 505;
    the gui is just normal gui stuff, it contains the main method

  • Web Server Crash..Error Code 52

    Hello,
    Web server crashed and keep getting an error code 52 any insight on why would be greatly appreaciated.
    Thanks!
    ===== BEGIN DUMP =============================================================
    JRockit dump produced after 0 days, 00:48:31 on Thu Jun 14 13:00:16 2007
    Additional information is available in:
    D:\bea\user_projects\domains\HEAS_Domain\jrockit.1792.dump
    D:\bea\user_projects\domains\HEAS_Domain\jrockit.1792.mdmp
    Please send the file(s), information about your system
    setup and the program you were running to [email protected]. Thank you.
    Error code: 52
    Error Message: Null pointer exception in native code
    Version : BEA WebLogic JRockit(TM) 1.4.2_05 JVM R24.4.0-1 ari-38120-20041118-1131-win-ia32
    Threads / GC : Native Threads, GC strategy: gencon
    : mmHeap->data = 0x10020000, mmHeap->top = 0x20020000
    : mmStartCompaction = 0x11420000, mmEndCompaction = 0x12820000
    Number CPUs : 4
    Tot Phys Mem : 17178947584
    OS version : Microsoft Windows Server 2003 Service Pack 1 (Build 3790)
    State : JVM is running
    Command Line : -Xms256m -Xmx256m -Xnoclassgc -Xgc:gencon -DEAS_HOME=\\nydfs1\root\APPDATA\HyperionEssbase -DARBORPATH=D:\Hyperion\EAS\Server -DEAS_LOG_LEVEL=9999 -DEAS_LOG_LOCATION=d:\hyperion\EASadvancedlogs.txt -Djava.class.path=D:\bea\jrockit81sp4_142_05\lib\tools.jar;D:\bea\WEBLOG~1\server\lib\weblogic_sp.jar;D:\bea\WEBLOG~1\server\lib\weblogic.jar; -Dweblogic.Name=HEAS_Server -Dweblogic.management.username=admin -Dweblogic.ProductionModeEnabled= -Djava.security.policy=D:\bea\WEBLOG~1\server\lib\weblogic.policy -Dweblogic.management.password=keep_out -Dweblogic.management.startmode=WinSvc exit
    Environment : JAVA_HOME=(null), java.home=D:\bea\jrockit81sp4_142_05\jre, java.class.path=D:\bea\jrockit81sp4_142_05\lib\tools.jar;D:\bea\WEBLOG~1\server\lib\weblogic_sp.jar;D:\bea\WEBLOG~1\server\lib\weblogic.jar;, java.library.path=D:\bea\WEBLOG~1\server\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:\bea\WEBLOG~1\server\bin;D:\bea\jrockit81sp4_142_05\jre\bin;D:\bea\jrockit81sp4_142_05\bin;D:\bea\WEBLOG~1\server\bin\oci920_8;D:\Hyperion\Essbase\bin;D:\Hyperion\EAS\Server\bin;d:\hyperion\essbase\bin;c:\sybase\ocs-12_5\lib3p;c:\sybase\ocs-12_5\bin;c:\sybase\ocs-12_5\dll;c:\program files\veritas\netbackup\bin\;c:\program files\support tools\;c:\program files\windows resource kits\tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;c:\program files\common files\morgan stanley shared;c:\program files\perl\bin;c:\program files\ibm\director\bin;c:\program files\microsoft sql server\80\tools\binn\;d:\bea\jrockit81sp4_142_05\bin;c:\program files\openafs\1.3.81.0\bin
    C Heap : Good; no memory allocations have failed
    Registers (from context struct at 0x0716ECAC/0x0716EDC8):
    Converted EIP: 0b2210c4
    EAX = ffffffff EBX = 00000000
    ECX = 0716f608 EDX = 00000062
    ESI = 0716f978 EDI = 03afb86c
    EIP = 0b6410c4 ESP = 0716f094
    EBP = 0716f0a4 EFL = 00010286
    CS = 001b DS = 0023 ES = 0023
    SS = 0023 FS = 003b GS = 0000
    Stack:
    0716f094 :00000062 00000001 00000000 0b64fb04 0716f610 0b64886b
    0716f0ac :ffffffff 0716f608 00000062 00000001 00000000 0b64fb04
    0716f0c4 :03afb86c 0716f978 03afb874 71b2446b 71b2449c 0003b500
    0716f0dc :00a67ff8 00000000 00000000 00000ae9 0716f07c 00001108
    0716f0f4 :0716ff48 71b45fcc 71b26538 ffffffff 71b26530 71b26599
    0716f10c :00000c58 0716f28c 00000010 00000000 00000000 00000000
    0716f124 :00000000 00000000 00a675d0 00a67ff8 0716f180 71c039ce
    0716f13c :00000c58 0716f28c 00000010 00000000 71c02572 00a67ff8
    0716f154 :00a675d0 71c039f6 02362868 0003b500 00000000 00a67dc0
    0716f16c :00a61e90 00000000 ffffffff 00000000 00000000 0716f2b4
    0716f184 :0a671000 00000c58 0716f28c 00000010 02362868 00000008
    0716f19c :77bd8970 023b8880 0716f3cc 030d0000 0716f1bc 00000001
    0716f1b4 :7c8302b3 000cf148 0716f29c 7c82f9c1 00090928 7c82f9dd
    0716f1cc :000cf150 08562948 00030000 031e1290 0000136b 0716f204
    0716f1e4 :7c81e602 00030000 031e1290 031e1290 00030000 03110000
    0716f1fc :03110000 020d0000 0716f24c 7c81ede1 0000136b 011e1290
    0716f214 :00000000 00030000 031e1290 00000000 00000de8 031ea000
    0716f22c :031c2f98 03110000 00000000 00000000 00000000 000001ae
    0716f244 :00030000 00000000 00030000 0716f330 7c8300c6 00030608
    0716f25c :00030000 023b64e8 00030000 00000000 00030000 0716f350
    0716f274 :7c8300c6 00030608 7c82f9dd 02362868 023b64f0 02362868
    0716f28c :023c2280 023b64e8 7c82f9e0 ffffffff 7c82f9dd 00030178
    0716f2a4 :00090000 00000000 00000000 023b8878 08562948 00000000
    0716f2bc :7fee3000 7fee3000 000be254 00030000 00030178 030d0000
    0716f2d4 :023b64f0 00000101 01010000 0716f228 023b8880 00000000
    0716f2ec :7c82f680 7c82f9e0 ffffffff 7c82f9dd 77bbcef6 00030000
    0716f304 :00000000 00000000 00009b58 0000136b 01010001 0716f260
    0716f31c :023b64f0 00030000 00000000 7c82f9e0 00000428 00000085
    0716f334 :0101cef6 0716f280 00000000 0716f388 7c82f680 7c82f9e0
    0716f34c :ffffffff 7c82f9dd 77bbcef6 00030000 00000000 77bbcefb
    0716f364 :02362868 00000000 02362868 77ba20e8 ffffffff 77bbcefb
    0716f37c :0b446e91 0716f390 00a40000 7c8302e7 00a406e8 0716f5b8
    0716f394 :7c82fadf 7c82fb23 00000005 00000005 03afb874 0b4417c3
    0716f3ac :023b64f0 023b64f0 0716f3cc 0b547f99 00000000 023b64f0
    0716f3c4 :02360928 000fde84 0716f930 0b648562 02362868 023b64f0
    0716f3dc :03afb86c 0716f984 03afb874 00000000 085625f8 00000108
    0716f3f4 :000bf1c0 00000068 08562568 00090000 00000000 000d62d8
    0716f40c :00000030 00000006 000113e4 0716f360 00001108 0716f52c
    0716f424 :7c82f680 7c82f9e0 ffffffff 7c82f9dd 71ae1790 00090000
    0716f43c :00000000 000d62d8 00000400 00000200 71ae17a1 0716f52c
    0716f454 :00000000 0716f528 00000000 08561ec0 0716f5d8 0716f5e0
    0716f46c :0716f5dc 01000000 00000022 71ae12c3 08562608 08562a30
    0716f484 :08560000 00000000 08562568 00000110 00000022 000113e4
    0716f49c :3d5746ef 0716f4dc 71ae1871 00001108 00000400 00000200
    0716f4b4 :00000300 00000001 0716f4ec 00000002 08562948 08562948
    0716f4cc :00000000 0716f500 71b23fe4 000cf150 00002000 00000e5c
    0716f4e4 :0096ec55 0a2227e0 0096ec55 0716f997 0716f4e8 124ba990
    0716f4fc :0096ec98 0bb92f30 03afb7f4 0716f620 71b24086 00000002
    0716f514 :08562948 085629f0 00000000 fffffff8 124ba990 03afb7f4
    0716f52c :03afb7f4 03afbf10 0090f5b3 03afb768 03afb7f4 00000001
    0716f544 :03afb768 00983012 03afb768 03afb7f4 02b3a7e8 03afb7f4
    0716f55c :02b3ce64 00950d70 03afb7f4 03afb880 00000000 00000000
    0716f574 :0716f4e8 01121ba0 0716f997 00000000 0000016d 03d91500
    0716f58c :0a2227e0 ffffffff 0716f4e8 00000000 00000000 00000000
    0716f5a4 :00000000 124ba990 0716f4e8 03afb7f4 03afb768 00951c61
    0716f5bc :03afb7f4 03d71378 0bb92f30 0716f9b8 0716f614 03afb768
    0716f5d4 :00951c83 03afb86c 0716f978 085dea10 03afb880 0716ff01
    0716f5ec :0716f638 0bcc0dad 03afb7f4 00001770 0bcd1810 0bcd1868
    0716f604 :00000000 0bcd1850 00000000 0716f638 0bcc0dc9 ffffffff
    0716f61c :00000000 0716f940 0716f924 0716f958 0bcd1850 00000000
    0716f634 :0bcd1810 0716f970 0bcb0683 03afb7f4 ffffffff 00000000
    0716f64c :0716f940 0716f924 0716f958 0716f67c 03afb87c 00000001
    0716f664 :00973188 00000e00 1510eee8 15a6ac08 00000001 00000001
    0716f67c :03afb768 01201a0b 00000e00 1510eee8 00000001 0293dab0
    0716f694 :03afb87c 00000000 00000000 00000000 00000000 1510eee8
    0716f6ac :00000001 01201a66 00000001 1510eed8 03afb768 03afb768
    0716f6c4 :01201994 00000000 00000001 15a6abf0 00000001 00002000
    0716f6dc :0120192d 15a6aaa0 012018fd 01201795 15a6aaa1 15a6aaa0
    0716f6f4 :13a0c010 00000000 1510eed8 15a6ab10 15a6aaa0 012016ef
    0716f70c :1510eed8 00000001 00000000 15a6ab10 15a6ab10 01201619
    0716f724 :15a6aaf8 079dc246 15a6aafd 13a94c58 15a6aaa0 079dc1ed
    0716f73c :079dc1ab 15a6aaa5 15a6aaa0 13a0c010 124bd8d8 00000000
    0716f754 :079dc10f 088707d4 15a6aaa0 124bc798 124bc780 15a62898
    0716f76c :00000000 15a62899 15a62718 15a62898 124bc798 0a2218db
    0716f784 :124bc798 15a62899 124bc780 15a62718 124bc780 15a62898
    0716f79c :0a221832 124bc780 124bc230 15a62880 15a6289d 000fde84
    0716f7b4 :03afb768 0716f7c0 0096ec55 0a221750 0096ec55 0716f997
    0716f7cc :0716f7c0 15a62898 0096ec98 0bb92380 03afb7f4 0716f8f8
    0716f7e4 :0096ec98 00000007 124bc1c8 fffffffe 00000002 fffffffd
    0716f7fc :15a62898 71ae1168 00090000 fffffff8 1766f108 00000080
    0716f814 :03afb7f4 00000001 124bc1c8 7fee3000 03afb878 fffffff8
    0716f82c :00000002 000fde84 0090f5b3 03afb768 00000000 00000000
    0716f844 :00000000 124bc1c8 0716f7c0 01121ba0 0716f997 124bc198
    0716f85c :03afb874 00950d70 0a221750 00000001 0716f7c0 00000002
    0716f874 :00000002 0000001c 00000000 15a62898 0716f7c0 03afb7f4
    0716f88c :03afb768 00951c61 03afb7f4 03d1bf20 0bb92380 00a48e54
    Code:
    0b640fc4 :00000000 00000000 00000000 00000000 00000000 00000000
    0b640fdc :00000000 00000000 00000000 00000000 00000000 00000000
    0b640ff4 :00000000 00000000 00000000 90c3c033 90909090 90909090
    0b64100c :90909090 81ec8b55 000474ec 0c458b00 7703f883 8524ff62
    0b641024 :0b64108c f0040d8b a1660b64 0b64f000 558d646a c752519a
    0b64103c :10009445 89660b64 45c69845 15ff00fe 0b64c2a0 8d08558b
    0b641054 :fffb8c85 944d8dff e8525150 0000a532 b018c483 5de58b01
    0b64106c :8b000cc2 e8500845 0000a518 b004c483 5de58b01 32000cc2
    0b641084 :5de58bc0 90000cc2 0b64106f 0b641028 0b64107b 0b64107b
    0b64109c :90909090 8bec8b55 c0850845 a0b80775 5d00102c 1c4d8bc3
    0b6410b4 :5118558b 52144d8b 5110558b 520c4d8b 5251108b 00a7d5e8
    0b6410cc :18c48300 9090c35d 90909090 90909090 90909090 8bec8b55
    0b6410e4 :c0850c45 458b2175 08558b10 8d500a6a 046a144d 68046a51
    0b6410fc :00102ca1 a496e852 c4830000 33c35d1c 90c35dc0 51ec8b55
    0b641114 :56084d8b 64f01468 6a006a0b 08458d01 5150626a 00a775e8
    0b64112c :18c48300 4575c085 8b08558b f6850c75 c704428b 0002fc45
    0b641144 :21750000 14680a6a 8d0b64f0 046afc4d 68046a51 00102ca1
    0b64115c :a43ae850 c4830000 75c0851c 08558b10 04428b56 a456e850
    0b641174 :c4830000 e58b5e08 9090c35d 51ec8b55 085d8b53 2c685756
    0b64118c :6a0b64f0 8d016a00 626a0845 03e85350 830000a7 c08518c4
    0b6411a4 :008e850f 4d8b0000 0c7d8b08 418bff85 fc45c704 00000002
    0b6411bc :0a6a2175 64f02c68 fc558d0b 6a52046a 2ca16804 e8500010
    Loaded modules:
    (* denotes the module causing the exception)
    0x7c800000-0x7c8bffff C:\WINDOWS\system32\ntdll.dll
    0x77e40000-0x77f41fff C:\WINDOWS\system32\kernel32.dll
    0x77380000-0x77411fff C:\WINDOWS\system32\USER32.dll
    0x77c00000-0x77c48fff C:\WINDOWS\system32\GDI32.dll
    0x77f50000-0x77febfff C:\WINDOWS\system32\ADVAPI32.dll
    0x77c50000-0x77ceefff C:\WINDOWS\system32\RPCRT4.dll
    0x71af0000-0x71b11fff C:\WINDOWS\system32\ShimEng.dll
    0x75e60000-0x75e86fff C:\WINDOWS\system32\apphelp.dll
    0x003d0000-0x003e3fff C:\WINDOWS\AppPatch\AcMSReg.dll
    0x76290000-0x762acfff C:\WINDOWS\system32\IMM32.DLL
    0x62d80000-0x62d88fff C:\WINDOWS\system32\LPK.DLL
    0x75490000-0x754f0fff C:\WINDOWS\system32\USP10.dll
    0x77ba0000-0x77bf9fff C:\WINDOWS\system32\msvcrt.dll
    0x10000000-0x10016fff C:\WINDOWS\system32\sysmodule.1.1.dll
    0x005c0000-0x005e0fff C:\WINDOWS\AppPatch\Custom_MsReg.dll
    0x77b90000-0x77b97fff C:\WINDOWS\system32\VERSION.dll
    0x00600000-0x0069bfff C:\WINDOWS\system32\advapi32.5.2.3790.1830.dll
    0x00830000-0x00a33fff D:\bea\jrockit81sp4_142_05\jre\bin\jrockit\jvm.dll
    0x76aa0000-0x76accfff C:\WINDOWS\system32\WINMM.dll
    0x7c8d0000-0x7d0d3fff C:\WINDOWS\system32\SHELL32.dll
    0x77da0000-0x77df1fff C:\WINDOWS\system32\SHLWAPI.dll
    0x71c00000-0x71c16fff C:\WINDOWS\system32\WS2_32.dll
    0x71bf0000-0x71bf7fff C:\WINDOWS\system32\WS2HELP.dll
    0x7c340000-0x7c395fff C:\WINDOWS\system32\MSVCR71.dll
    0x77420000-0x77522fff C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.2778_x-ww_A8F04F11\comctl32.dll
    0x00b30000-0x00b48fff D:\bea\jrockit81sp4_142_05\jre\bin\java.dll
    0x00b50000-0x00b5dfff D:\bea\jrockit81sp4_142_05\jre\bin\verify.dll
    0x76f50000-0x76f62fff C:\WINDOWS\system32\Secur32.dll
    0x71b20000-0x71b60fff C:\WINDOWS\System32\mswsock.dll
    0x76ed0000-0x76efefff C:\WINDOWS\system32\DNSAPI.dll
    0x76f70000-0x76f76fff C:\WINDOWS\System32\winrnr.dll
    0x76f10000-0x76f3dfff C:\WINDOWS\system32\WLDAP32.dll
    0x76f80000-0x76f87fff C:\WINDOWS\system32\rasadhlp.dll
    0x07d50000-0x07d55fff D:\bea\jrockit81sp4_142_05\jre\bin\ioser12.dll
    0x5f270000-0x5f2c8fff C:\WINDOWS\system32\hnetcfg.dll
    0x71ae0000-0x71ae7fff C:\WINDOWS\System32\wshtcpip.dll
    0x09ea0000-0x09ea4fff D:\bea\weblogic81\server\bin\wlntio.dll
    0x0a210000-0x0a219fff D:\Hyperion\eas\server\bin\jmaxl.dll
    0x0b3d0000-0x0b43efff D:\Hyperion\EAS\Server\bin\ESSAPINU.dll
    0x0a650000-0x0a677fff D:\Hyperion\EAS\Server\bin\ESSNETU.dll
    0x0aca0000-0x0acb0fff D:\Hyperion\EAS\Server\bin\ESSUTLU.dll
    0x0b340000-0x0b397fff D:\Hyperion\EAS\Server\bin\globlc32.dll
    0x0b2d0000-0x0b2d6fff D:\Hyperion\EAS\Server\bin\ESSGLOBU.dll
    0x0b440000-0x0b450fff D:\Hyperion\EAS\Server\bin\ESSSDU.dll
    0x71bb0000-0x71bb8fff C:\WINDOWS\system32\WSOCK32.dll
    0x0b540000-0x0b581fff D:\Hyperion\EAS\Server\bin\ESSOTLSU.dll
    0x0b590000-0x0b5a3fff D:\Hyperion\EAS\Server\bin\ESSOPGN.dll
    0x0b5b0000-0x0b5ddfff D:\Hyperion\EAS\Server\bin\ESSSHRU.dll
    0x77670000-0x777a3fff C:\WINDOWS\system32\ole32.dll
    0x0b2e0000-0x0b2e7fff D:\Hyperion\EAS\Server\bin\ESSSECU.dll
    0x0b600000-0x0b63efff D:\Hyperion\EAS\Server\bin\essmaxlu.dll
    0x0b640000-0x0b652fff* D:\Hyperion\EAS\Server\bin\ESSOTLNU.dll
    0x0bc00000-0x0bc20fff D:\Hyperion\eas\server\bin\EssCoreJni.dll
    0x0b520000-0x0b534fff D:\Hyperion\eas\server\bin\DataPrepJni.dll
    0x0bca0000-0x0bcd4fff D:\Hyperion\eas\server\bin\OutlineJni.dll
    0x0c1d0000-0x0c290fff D:\bea\jrockit81sp4_142_05\jre\bin\dbghelp.dll
    0x76b70000-0x76b7afff C:\WINDOWS\system32\psapi.dll
    Java Thread ID = 0x00006a80, lastJavaFrame = 0x0716F994, Name = ExecuteThread: '199' for queue: 'weblogic.kernel.Default'
    Thread Stack Trace:
    at EssOtlQueryMembersByName+43()@0x0B64886B
    at Javacom_essbase_eas_essbase_api_jni_OutlineJni_setMemberInfo@20+9309()@0x0BCC0DC9
    at Javacom_essbase_eas_essbase_api_jni_OutlineJni_getMemberAncestorsQueryEx@28+259()@0x0BCB0683
    at com/essbase/eas/essbase/api/jni/OutlineJni.getMemberAncestorsQueryEx(Native Method)@0x0B318E00
    at com/essbase/eas/essbase/server/outline/ViewPrimitives.getMemberAncestorsEx(Unknown Source)@0x0B318D93
    at com/essbase/eas/essbase/server/outline/ViewLogic.getMemberAncestorsEx(Unknown Source)@0x0B318BEB
    at com/essbase/eas/essbase/server/outline/OutlineViewCommandListener.getMemberAncestorsEx(Unknown Source)@0x0B318B5E
    at jrockit/reflect/NativeMethodInvoker.invoke0(Native Method)@0x0115D030
    at jrockit/reflect/NativeMethodInvoker.invoke(Unknown Source)@0x0115D1B8
    at jrockit/reflect/VirtualNativeMethodInvoker.invoke(Unknown Source)@0x011E7AA0
    at java/lang/reflect/Method.invoke(Unknown Source)@0x0115C760
    at com/essbase/eas/framework/server/application/AbstractCommandListener.handleEvent(Unknown Source)@0x0A23FB64
    at com/essbase/eas/framework/server/application/DefaultCommandDispatcher.dispatchEvent(Unknown Source)@0x0A23F926
    at com/essbase/eas/framework/server/application/DefaultEventController.handleEvent(Unknown Source)@0x0A23EC9E
    at com/essbase/eas/framework/server/application/EventDispatcherWorkListener.handleEvent(Unknown Source)@0x0A23F782
    at com/essbase/eas/framework/server/application/DefaultWorkDispatcher.dispatchEvent(Unknown Source)@0x0A23EF10
    at com/essbase/eas/framework/server/application/DefaultEventController.handleEvent(Unknown Source)@0x0A23EC9E
    at com/essbase/eas/framework/server/application/DefaultApplication.generateWorkEvent(Unknown Source)@0x0A23EB36
    at com/essbase/eas/framework/server/application/DefaultServlet.handleRequest(Unknown Source)@0x0A23E57F
    at com/essbase/eas/server/AppManServlet.doPost(Unknown Source)@0x0A23C856
    at javax/servlet/http/HttpServlet.service(HttpServlet.java:760)@0x0B3CB7E3
    at javax/servlet/http/HttpServlet.service(HttpServlet.java:853)@0x0B3CB5BE
    at weblogic/servlet/internal/ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)@0x0B3CB565
    at weblogic/servlet/internal/ServletStubImpl.invokeServlet(ServletStubImpl.java:419)@0x0B3CA791
    at weblogic/servlet/internal/ServletStubImpl.invokeServlet(ServletStubImpl.java:315)@0x0B3CA4D8
    at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)@0x0B3CA488
    at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)@0x03464968
    at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:121)@0x034648EA
    at weblogic/servlet/internal/WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)@0x0B3C6B30
    at weblogic/servlet/internal/ServletRequestImpl.execute(ServletRequestImpl.java:2644)@0x0B3C6540
    at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:219)@0x0782E0E0
    at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:178)@0x0354552A
    at java/lang/Thread.startThreadFromVM(Unknown Source)@0x011266F3
    --- End of stack trace
    Additional information is available in:
    D:\bea\user_projects\domains\HEAS_Domain\jrockit.1792.dump
    D:\bea\user_projects\domains\HEAS_Domain\jrockit.1792.mdmp
    Please send the file(s), information about your system
    setup and the program you were running to [email protected]. Thank you.
    ===== END DUMP ===============================================================

    Top of stack trace is:
    at EssOtlQueryMembersByName+43()@0x0B64886B
    at Javacom_essbase_eas_essbase_api_jni_OutlineJni_setMemberInfo@20+9309()@0x0BCC0DC9
    Looks like the crash is caused by the Essbase JNI
    drivers. I suggest you contact Hyperion for help.
    -- Henrik

  • Using private key installed on Sun One web server in java code.

    Hi,
    I am digitally signing an XML string. I have been able to successfully do this using the .keystore and the JSSE API.
    I need to run this code in the SUN ONE Web server, hence I have installed a self signed cert in the web server, using the web console.
    I need to load the .keystore that is being maintained by the Sun One Web Server in my Java program as a �KeyStore� object
    Presently I am using the following JSSE calls:
    KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType());
    // Load the keystore contents
    FileInputStream in = new FileInputStream(keystoreFile);
    keystore.load(in, keystorePassword);
    in.close();
    Now how do I access the keystore and the certs that I have added in the web server? Is there any SUN API for this?
    Any help will be appreciated!
    Regards,
    Nandan
    Message was edited by:
    NANDAN

    The global zone should offer no services to the network except services required to administer the system. SSH from known IPs. Put everything in zones for the security of the system. Zones have no performance penalty so there is no advantage to running on the host system in the global zone.
    Sun's Java Enterprise server software webserver, directory server, etc required a full zone due to Solaris Package issues or conflicts; writing stuff in /usr; or both. A whole root for this software should not be a big deal. I create zones 9 at a time numbered in sequence. Zone 8 and 9 are whole root zones for requirements such as this.
    I'll leave to others to alert us if the whole root zone requirement changes for Sun's Java Enterprise Server software.
    Message was edited by:
    jgmarce

  • Web server refuses connections - Service exited with abnormal code: 1

    I have upgraded to yosemite 10.10.1, my web server refuses to allow connections and I get - Service exited with abnormal code: 1, in the log file. I have reloaded server software and I have rebooted and power restarted my Mac Mini many times

    Fixed this stupid iTunes issue with the following procedure. YMMV
    - Open the Activity Monitor (LaunchPad, Other, Activity Monitor)
    - Force Quit the iTunes Helper app (I had multiply ones running, so quit them all)
    - Install the iTunes .pkg from the Apple website.
    - Force Quit the iTunes Helper again after install
    - Shut Down the MacBook
    - Start again (watch for the progress bar, that’s the fix for permissions working)
    - Start iTunes
    You mileage may vary, but it worked for me.

  • Putting a helloword.java code to run on Sun Java Web Server

    Hello,
    Given helloworld.jsp:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloWorld extends HttpServlet {
    public void doGet(HttpServletRequest req, HttpServletResponse res)
                   throws ServletException, IOException {
         res.setContentType("text/html");
         PrintWriter out = res.getWriter();
         out.println("<HTML>");
         out.println("<HEAD><TITLE>Hello World</TITLE></HEAD>");
         out.println("<BODY>");
         out.println("<H1>Hello World</H1>");
         out.println("Today is: " + (new java.util.Date().toString()) );
         out.println("</BODY></HTML>");
    } // doGet
    } // HelloWorld
    How can I put this code to run on Sun Java System Web Server, how to compile this ? what and how to put in the webserver document and how to access it ?
    Thanks for verbose and basic information about this, appreciated...

    What you wrote is not a JSP. It is a Java Servlet.
    You need to compile it. That creates HelloWorld.class.
    Create a directory say hello. You need to create a directory structure as mentioned below.
    hello|
    WEB-INF|
    web.xml
    classes|
    HelloWorld.class
    You need to package it in a war (web archive) file.
    %cd hello
    %jar cvf hello.war .
    Then deploy this war file using admin GUI or wadm CLI.
    I would suggest using Netbeans IDE to create the web application.
    To deploy the war file on SJS web server 7 update 2, see my blog at
    http://blogs.sun.com/kmeduri/entry/how_to_deploy_a_war

  • Setting Up a Java Web Server on Linux

    Greetings,
    After a lot of reading, I've decided to learn Java server-side technologies (I already know Java (desktop)
    but with little experience) in order to develop my database driven dynamic website projects.
    However, I'm completed lost between the hundreds of acronyms related to Java and the "thousands" of technologies involved.
    Google hadn't help me understand what they really are and how they relate with each other.
    Even though is easy to find what they stand for and some faqs/descriptions, it hasn't been enought to clear my mind.
    I want my webserver application to do, among other things, the following:
    Retrieve Data from a database, do generate dynamic html files.
    Story Data on the database, from html forms.
    Send automaticly emails for multiple users. (newsletter for example)
    E-Commerce.
    Html graber/parser (I don't know if this is the right word, I mean a program that for example, goes to a URL with an html
    table, and stores that information in a database table, as long as the format didn't change).
    Real Time Chat feature.
    Database connection pooling, caching, and other important optimizations.
    I'm not asking for how to develop or configure this features nor what components and programs, must be installed.
    At the moment, I only want to know how to set up a Java solution that will support them when they are needed.
    *** Linux ***
    I want to set up my webserver on a linux distribution.
    In that respect, I don't know if I should choose RedHat or Fedora Core.
    I've heard that fedora is better for a webserver (having in mind that Red Hat Enterprise AS/ES aren't free).
    But I've read in several sun turorials/webpages references to RedHat (on a J2EE context).
    So I'm wondering if is better to go for Fedora or RedHat. Are there pros & cons? They equally support Java?
    *** Technologies ***
    Then in starts the acronyms problem.
    What do I need to install, in what order, for what?
    Some aconyms and technologies, I have read about but don't fully understand are the following:
    Apache
    J2EE
    J2EE 1.4 SDK
    SUN Java System Application Server Platform Edition 8
    J2SE 1.4.2 SDK
    SUN Java Enterprise System
    Tomcat
    Struts
    Cocoon
    JBoss
    I already know J2EE is only a specification. What implements that specification? Sun Java System Application Server?
    J2SE SDK? or Tomcat?
    What is the role of each technology, namely Apache, Tomcat, Sun Application Server?
    What is the Sun Java Enterprise System?
    How do Struts, Cocoon, JBoss relate to Java?
    Which of these technologies are mutually exclusive (analogous)?
    *** Doubts ***
    Then, I have some doubts that are keeping me from starting to study seriously the important techonologies, because I don't
    want to lose lot's of time and effort learning them to after a dillusion start everything again with PHP (the language
    which make me think and read a lot before going for Java). To keep this from happening, I would like to know the following:
    I want to use Java for developing websites with commercial/profitable use for my company, in some throught e-commerce,
    and in other by banners. I want to do everything by the book, with required licenses.
    ------ Java is Free?
    Is Java Completely Free or it might be possible that at a certain point, when I need some component or library,
    multi-machine webserver, performance or security for high-traffic I will see "buy now" instead of "download now"?
    For what they may "ask for money"? and what are the disavantages if I can't buy?
    For example, "Java System Application Server Standard Edition 8.1 2005Q1" and
    "Java System Application Server Enterprise Edition 8.1 2005Q1" cost $2.000 and $10.000 respectively. That is money.
    (http://www.sun.com/software/products/appsrvr/index.xml). What are the disavantages if stick to the free edition?
    Features like (from sun site)
    Standard Edition:
    Extends the capabilities of the Platform Edition to provide secure, remote, multi-instance, multi-machine management.
    It is aimed at high-volume applications and Web services.
    Enterprise Edition:
    Further extends the capabilities of the Standard Edition to provide continuous availablity for applications and
    Web services. It is aimed at business critical, high value applications and Web services.
    Suppose I achive lots of traffic and I keep the free platform edition.
    I won't be able to have a multi-machine webserver set up correctly?
    What are the drawbacks? How big are the performance penalties?
    ------ Technologies Availability
    Finnaly, I have the idea (I don't know if it's accurate) that there are Sun versions and Open-Source Free versions
    of doing or supporting the same Java related thing.
    Despite the way I choose to set up a Java webserver, I will always have all J2EE techonolies like:
    Java API for XML-Based RPC (JAX-RPC), JavaServer Pages, Java Servlets, Enterprise JavaBeans components,
    J2EE Connector Architecture, J2EE Management Model, J2EE Deployment API, Java Management Extensions (JMX),
    J2EE Authorization Contract for Containers, Java API for XML Registries (JAXR), Java Message Service (JMS),
    Java Naming and Directory Interface (JNDI), Java Transaction API (JTA), CORBA, and JDBC data access API.
    I really appreciate some help. I could learn the basics of all this "stuff" before asking. But the point why I'm asking
    is precisely not starting to learn something I may won't use. Obviously, I will have to make a lot of reading during maybe
    months before writing the first line of code of my projects, but being certain that it will fit my needs.
    I will be very thankful if you can enlightme in my fedora/redhat, setup, free/cost and technologies avaibility issues.
    Thanks Beforehand,
    Pedro Vaz

    Apache is a free Web-server.
    Tomcat is a servlet (and JSP) container. It can be stand-alone or can be used together with a Web server (like Apache).
    J2EE's scope is much wider than the servlet stuff, but a standalone Tomcat is a good starting point to servlets and JSP.
    One of our "real-world" applications is run by a standalone Tomcat using POI and Velocity. I did not regret this architectural decision.

  • Web Server Filter Based SSO to Non-SAP Apps

    Hi,
    I am following SAP Note 442401 for configuring the Non-SAP App for Web Server Filter based SSO using SAP Logon Ticket. Also, I have downloaded the 5_0_2_8.zip file.
    The Readme doc of this zip file says:
    "<b>Changes in Web server filter plugins
    The Web server filter plug ins and the Ticket Toolkit now were separated.
    See subdirectories for further information:
    "C"          the Ticket Toolkit
    "filter"     the Web server filter plug ins
    This is the last released version (5.0.2.8) on SAPSERV.
    Pleaser refer for newer versions to SAP Service Marketplace (http://service.sap.com/patches)
    Technology Components-> SAP SSOEXT -> SAP SSOEXT</b>"
    Zip file has two folders named "C" and "filter".
    "C" folder has cpp code to varify the ticket.
    "Filter" folder has DLLs for the different web servers.
    So far so good . Now, what I want to know is that is placing the  DLL from the Filter folder onto the respective web server and doing some configs, as per the PDF provided with ZIP file, enough?
    Or do I need to do anything else, like writing any class to read and validate the Ticket?
    Thanks,
    Vivek

    See Web Server Filter Based SSO to Non-SAP Apps

  • SharePoint 2013 preinstaller error - The tool was unable to install Application Server Role, Web Server (IIS) Role.

    I have been banging my head over and over searching for the fix and nothing has worked. Google used to be my friend. I am having doubts.
    Windows 2012 Server with IIS installed during the server creation using VMware Vshpere. Here is the log from the SP prep tool.
    2014-06-23 10:13:12 - Processor architecture is (9)
    2014-06-23 10:13:12 - Reading the following string value/name...
    2014-06-23 10:13:12 - Common Startup
    2014-06-23 10:13:12 - from the following registry location...
    2014-06-23 10:13:12 - SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
    2014-06-23 10:13:12 - The value is...
    2014-06-23 10:13:12 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
    2014-06-23 10:13:12 - Trying to remove the startup task if there is any.
    2014-06-23 10:13:12 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\SharePointServerPreparationToolStartup_0FF1CE14-0000-0000-0000-000000000000.cmd
    2014-06-23 10:13:12 - Error: Startup task doesn't exist. This is not a continuation after a restart.
    2014-06-23 10:13:12 - Locating the following command line arguments file:
    2014-06-23 10:13:12 - C:\sp2013\PrerequisiteInstaller.Arguments.txt
    2014-06-23 10:13:12 - Error: This file does not exist
    2014-06-23 10:13:12 - Details of the current operating system:
    2014-06-23 10:13:12 - Major version number of the operating system:  (6)
    2014-06-23 10:13:12 - Minor version number of the operating system:  (2)
    2014-06-23 10:13:12 - Build number of the operating system:  (0X23F0=9200)
    2014-06-23 10:13:12 - Major version number of the latest Service Pack:  (0)
    2014-06-23 10:13:12 - Minor version number of the latest Service Pack:  (0)
    2014-06-23 10:13:12 - Platform ID of the operating system:  (2)
    2014-06-23 10:13:12 - Product suites available on the operating system:  (0X110=272)
    2014-06-23 10:13:12 - Product type of the operating system: VER_NT_SERVER
    2014-06-23 10:13:12 - Product type:  (7)
    2014-06-23 10:13:12 - OS type:  (0)
    2014-06-23 10:13:12 - Configuring the application's property sheet...
    2014-06-23 10:13:12 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:12 - Windows Management Framework 3.0
    2014-06-23 10:13:12 - Reading the following string value/name...
    2014-06-23 10:13:12 - PowerShellVersion
    2014-06-23 10:13:12 - from the following registry location...
    2014-06-23 10:13:12 - SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine
    2014-06-23 10:13:12 - The value is...
    2014-06-23 10:13:12 - 4.0
    2014-06-23 10:13:12 - A higher version of the prerequisite above is already installed
    2014-06-23 10:13:12 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:12 - Microsoft .NET Framework 4.5
    2014-06-23 10:13:12 - Reading the following DWORD value/name...
    2014-06-23 10:13:12 - Install
    2014-06-23 10:13:12 - from the following registry location...
    2014-06-23 10:13:12 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
    2014-06-23 10:13:12 - The value is (1)
    2014-06-23 10:13:12 - Reading the following string value/name...
    2014-06-23 10:13:12 - Version
    2014-06-23 10:13:12 - from the following registry location...
    2014-06-23 10:13:12 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
    2014-06-23 10:13:12 - The value is...
    2014-06-23 10:13:12 - 4.5.51641
    2014-06-23 10:13:12 - A post release .NET 4.5 is installed
    2014-06-23 10:13:12 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:12 - Windows Identity Foundation (KB974405)
    2014-06-23 10:13:12 - Reading the following string value/name...
    2014-06-23 10:13:12 -
    2014-06-23 10:13:12 - from the following registry location...
    2014-06-23 10:13:12 - SOFTWARE\Microsoft\Windows Identity Foundation\Setup\v3.5
    2014-06-23 10:13:12 - The value is...
    2014-06-23 10:13:12 - 6.1.7600.0
    2014-06-23 10:13:12 - The prerequisite above is already installed
    2014-06-23 10:13:12 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:12 - Microsoft Sync Framework Runtime v1.0 SP1 (x64)
    2014-06-23 10:13:12 - Reading version of the following file...
    2014-06-23 10:13:12 - C:\Windows\assembly\GAC_MSIL\Microsoft.Synchronization\1.0.0.0__89845dcd8080cc91\Microsoft.Synchronization.dll
    2014-06-23 10:13:12 - The version is...
    2014-06-23 10:13:12 - 1.0.3010.0
    2014-06-23 10:13:12 - The prerequisite above is already installed
    2014-06-23 10:13:12 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:12 - Microsoft SQL Server 2008 R2 SP1 Native Client
    2014-06-23 10:13:12 - Reading the following string value/name...
    2014-06-23 10:13:12 - Version
    2014-06-23 10:13:12 - from the following registry location...
    2014-06-23 10:13:12 - SOFTWARE\Microsoft\Microsoft SQL Server\SQLNCLI10\CurrentVersion
    2014-06-23 10:13:12 - The value is...
    2014-06-23 10:13:12 - 10.51.2500.0
    2014-06-23 10:13:12 - A higher version of the prerequisite above is already installed
    2014-06-23 10:13:12 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:12 - Windows Server AppFabric
    2014-06-23 10:13:12 - Reading the following string value/name...
    2014-06-23 10:13:12 - ProductVersion
    2014-06-23 10:13:12 - from the following registry location...
    2014-06-23 10:13:12 - SOFTWARE\Microsoft\AppFabric\V1.0
    2014-06-23 10:13:12 - The value is...
    2014-06-23 10:13:12 - 1.1.2106.32
    2014-06-23 10:13:12 - Reading the following string value/name...
    2014-06-23 10:13:12 - ProductVersion
    2014-06-23 10:13:12 - from the following registry location...
    2014-06-23 10:13:12 - SOFTWARE\Microsoft\AppFabric\V1.0
    2014-06-23 10:13:12 - The value is...
    2014-06-23 10:13:12 - 1.1.2106.32
    2014-06-23 10:13:12 - Reading the following string value/name...
    2014-06-23 10:13:12 - ProductVersion
    2014-06-23 10:13:12 - from the following registry location...
    2014-06-23 10:13:12 - SOFTWARE\Microsoft\AppFabric\V1.0
    2014-06-23 10:13:12 - The value is...
    2014-06-23 10:13:12 - 1.1.2106.32
    2014-06-23 10:13:12 - Reading the following DWORD value/name...
    2014-06-23 10:13:12 - DCC
    2014-06-23 10:13:12 - from the following registry location...
    2014-06-23 10:13:12 - SOFTWARE\Microsoft\AppFabric\V1.0\Features
    2014-06-23 10:13:12 - The value is (1)
    2014-06-23 10:13:12 - CacheClient is Installed.
    2014-06-23 10:13:12 - Reading the following DWORD value/name...
    2014-06-23 10:13:12 - DCS
    2014-06-23 10:13:12 - from the following registry location...
    2014-06-23 10:13:12 - SOFTWARE\Microsoft\AppFabric\V1.0\Features
    2014-06-23 10:13:12 - The value is (1)
    2014-06-23 10:13:12 - CacheService is Installed.
    2014-06-23 10:13:12 - Reading the following DWORD value/name...
    2014-06-23 10:13:12 - DCA
    2014-06-23 10:13:12 - from the following registry location...
    2014-06-23 10:13:12 - SOFTWARE\Microsoft\AppFabric\V1.0\Features
    2014-06-23 10:13:12 - The value is (1)
    2014-06-23 10:13:12 - CacheAdmin is Installed.
    2014-06-23 10:13:12 - The prerequisite above is already installed
    2014-06-23 10:13:12 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:12 - Windows Identity Foundation (KB974405)
    2014-06-23 10:13:12 - Reading the following string value/name...
    2014-06-23 10:13:12 -
    2014-06-23 10:13:12 - from the following registry location...
    2014-06-23 10:13:12 - SOFTWARE\Microsoft\Microsoft Identity Extensions\Setup\1.0
    2014-06-23 10:13:12 - The value is...
    2014-06-23 10:13:12 - 2.0.1230.0
    2014-06-23 10:13:12 - The prerequisite above is already installed
    2014-06-23 10:13:12 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:12 - Microsoft Information Protection and Control Client
    2014-06-23 10:13:12 - Reading the following string value/name...
    2014-06-23 10:13:12 -
    2014-06-23 10:13:12 - from the following registry location...
    2014-06-23 10:13:12 - SOFTWARE\Microsoft\MSIPC\CurrentVersion
    2014-06-23 10:13:12 - The value is...
    2014-06-23 10:13:12 - 1.0.959.0
    2014-06-23 10:13:12 - A higher version of the prerequisite above is already installed
    2014-06-23 10:13:12 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:12 - Microsoft WCF Data Services 5.0
    2014-06-23 10:13:12 - Reading the following string value/name...
    2014-06-23 10:13:12 - Version
    2014-06-23 10:13:12 - from the following registry location...
    2014-06-23 10:13:12 - SOFTWARE\Wow6432Node\Microsoft\Microsoft WCF Data Services\5.0
    2014-06-23 10:13:12 - The value is...
    2014-06-23 10:13:12 - 5.0.51212.0
    2014-06-23 10:13:12 - A higher version of the prerequisite above is already installed
    2014-06-23 10:13:12 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:12 - Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763)
    2014-06-23 10:13:12 - Reading the following DWORD value/name...
    2014-06-23 10:13:12 - IsInstalled
    2014-06-23 10:13:12 - from the following registry location...
    2014-06-23 10:13:12 - SOFTWARE\Wow6432Node\Microsoft\Updates\AppFabric 1.1 for Windows Server\KB2671763
    2014-06-23 10:13:12 - The value is (1)
    2014-06-23 10:13:12 - The prerequisite above is already installed
    2014-06-23 10:13:19 - Beginning download/installation
    2014-06-23 10:13:19 - Created thread for installer
    2014-06-23 10:13:20 - "C:\Windows\system32\ServerManagerCmd.exe" -inputpath "C:\Users\ADMINI~1\AppData\Local\Temp\2\PreA98B.tmp.XML"
    2014-06-23 10:13:20 - Error: Unable to install (2)
    2014-06-23 10:13:20 - Error: [In HRESULT format] (-2147024894)
    2014-06-23 10:13:20 - Last return code (2)
    2014-06-23 10:13:20 - Reading the following DWORD value/name...
    2014-06-23 10:13:20 - Flags
    2014-06-23 10:13:20 - from the following registry location...
    2014-06-23 10:13:20 - SOFTWARE\Microsoft\Updates\UpdateExeVolatile
    2014-06-23 10:13:20 - Reading the following string value/name...
    2014-06-23 10:13:20 - PendingFileRenameOperations
    2014-06-23 10:13:20 - from the following registry location...
    2014-06-23 10:13:20 - SYSTEM\CurrentControlSet\Control\Session Manager
    2014-06-23 10:13:20 - Reading the following registry location...
    2014-06-23 10:13:20 - SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
    2014-06-23 10:13:20 - Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.
    2014-06-23 10:13:20 - Last return code (2)
    2014-06-23 10:13:20 - Options for further diagnostics: 1. Look up the return code value 2. Download the prerequisite manually and verify size downloaded by the prerequisite installer. 3. Install the prerequisite manually from the given location without any
    command line options.
    2014-06-23 10:13:20 - Cannot retry
    2014-06-23 10:13:20 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:20 - Windows Management Framework 3.0
    2014-06-23 10:13:20 - Reading the following string value/name...
    2014-06-23 10:13:20 - PowerShellVersion
    2014-06-23 10:13:20 - from the following registry location...
    2014-06-23 10:13:20 - SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine
    2014-06-23 10:13:20 - The value is...
    2014-06-23 10:13:20 - 4.0
    2014-06-23 10:13:20 - A higher version of the prerequisite above is already installed
    2014-06-23 10:13:20 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:20 - Microsoft .NET Framework 4.5
    2014-06-23 10:13:20 - Reading the following DWORD value/name...
    2014-06-23 10:13:20 - Install
    2014-06-23 10:13:20 - from the following registry location...
    2014-06-23 10:13:20 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
    2014-06-23 10:13:20 - The value is (1)
    2014-06-23 10:13:20 - Reading the following string value/name...
    2014-06-23 10:13:20 - Version
    2014-06-23 10:13:20 - from the following registry location...
    2014-06-23 10:13:20 - SOFTWARE\Microsoft\Net Framework Setup\NDP\V4\full
    2014-06-23 10:13:20 - The value is...
    2014-06-23 10:13:20 - 4.5.51641
    2014-06-23 10:13:20 - A post release .NET 4.5 is installed
    2014-06-23 10:13:20 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:20 - Windows Identity Foundation (KB974405)
    2014-06-23 10:13:20 - Reading the following string value/name...
    2014-06-23 10:13:20 -
    2014-06-23 10:13:20 - from the following registry location...
    2014-06-23 10:13:20 - SOFTWARE\Microsoft\Windows Identity Foundation\Setup\v3.5
    2014-06-23 10:13:20 - The value is...
    2014-06-23 10:13:20 - 6.1.7600.0
    2014-06-23 10:13:20 - The prerequisite above is already installed
    2014-06-23 10:13:20 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:20 - Microsoft Sync Framework Runtime v1.0 SP1 (x64)
    2014-06-23 10:13:20 - Reading version of the following file...
    2014-06-23 10:13:20 - C:\Windows\assembly\GAC_MSIL\Microsoft.Synchronization\1.0.0.0__89845dcd8080cc91\Microsoft.Synchronization.dll
    2014-06-23 10:13:20 - The version is...
    2014-06-23 10:13:20 - 1.0.3010.0
    2014-06-23 10:13:20 - The prerequisite above is already installed
    2014-06-23 10:13:20 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:20 - Microsoft SQL Server 2008 R2 SP1 Native Client
    2014-06-23 10:13:20 - Reading the following string value/name...
    2014-06-23 10:13:20 - Version
    2014-06-23 10:13:20 - from the following registry location...
    2014-06-23 10:13:20 - SOFTWARE\Microsoft\Microsoft SQL Server\SQLNCLI10\CurrentVersion
    2014-06-23 10:13:20 - The value is...
    2014-06-23 10:13:20 - 10.51.2500.0
    2014-06-23 10:13:20 - A higher version of the prerequisite above is already installed
    2014-06-23 10:13:20 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:20 - Windows Server AppFabric
    2014-06-23 10:13:20 - Reading the following string value/name...
    2014-06-23 10:13:20 - ProductVersion
    2014-06-23 10:13:20 - from the following registry location...
    2014-06-23 10:13:20 - SOFTWARE\Microsoft\AppFabric\V1.0
    2014-06-23 10:13:20 - The value is...
    2014-06-23 10:13:20 - 1.1.2106.32
    2014-06-23 10:13:20 - Reading the following string value/name...
    2014-06-23 10:13:20 - ProductVersion
    2014-06-23 10:13:20 - from the following registry location...
    2014-06-23 10:13:20 - SOFTWARE\Microsoft\AppFabric\V1.0
    2014-06-23 10:13:20 - The value is...
    2014-06-23 10:13:20 - 1.1.2106.32
    2014-06-23 10:13:20 - Reading the following string value/name...
    2014-06-23 10:13:20 - ProductVersion
    2014-06-23 10:13:20 - from the following registry location...
    2014-06-23 10:13:20 - SOFTWARE\Microsoft\AppFabric\V1.0
    2014-06-23 10:13:20 - The value is...
    2014-06-23 10:13:20 - 1.1.2106.32
    2014-06-23 10:13:20 - Reading the following DWORD value/name...
    2014-06-23 10:13:20 - DCC
    2014-06-23 10:13:20 - from the following registry location...
    2014-06-23 10:13:20 - SOFTWARE\Microsoft\AppFabric\V1.0\Features
    2014-06-23 10:13:20 - The value is (1)
    2014-06-23 10:13:20 - CacheClient is Installed.
    2014-06-23 10:13:20 - Reading the following DWORD value/name...
    2014-06-23 10:13:20 - DCS
    2014-06-23 10:13:20 - from the following registry location...
    2014-06-23 10:13:20 - SOFTWARE\Microsoft\AppFabric\V1.0\Features
    2014-06-23 10:13:20 - The value is (1)
    2014-06-23 10:13:20 - CacheService is Installed.
    2014-06-23 10:13:20 - Reading the following DWORD value/name...
    2014-06-23 10:13:20 - DCA
    2014-06-23 10:13:20 - from the following registry location...
    2014-06-23 10:13:20 - SOFTWARE\Microsoft\AppFabric\V1.0\Features
    2014-06-23 10:13:20 - The value is (1)
    2014-06-23 10:13:20 - CacheAdmin is Installed.
    2014-06-23 10:13:20 - The prerequisite above is already installed
    2014-06-23 10:13:20 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:20 - Windows Identity Foundation (KB974405)
    2014-06-23 10:13:20 - Reading the following string value/name...
    2014-06-23 10:13:20 -
    2014-06-23 10:13:20 - from the following registry location...
    2014-06-23 10:13:20 - SOFTWARE\Microsoft\Microsoft Identity Extensions\Setup\1.0
    2014-06-23 10:13:20 - The value is...
    2014-06-23 10:13:20 - 2.0.1230.0
    2014-06-23 10:13:20 - The prerequisite above is already installed
    2014-06-23 10:13:20 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:20 - Microsoft Information Protection and Control Client
    2014-06-23 10:13:20 - Reading the following string value/name...
    2014-06-23 10:13:20 -
    2014-06-23 10:13:20 - from the following registry location...
    2014-06-23 10:13:20 - SOFTWARE\Microsoft\MSIPC\CurrentVersion
    2014-06-23 10:13:20 - The value is...
    2014-06-23 10:13:20 - 1.0.959.0
    2014-06-23 10:13:20 - A higher version of the prerequisite above is already installed
    2014-06-23 10:13:20 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:20 - Microsoft WCF Data Services 5.0
    2014-06-23 10:13:20 - Reading the following string value/name...
    2014-06-23 10:13:20 - Version
    2014-06-23 10:13:20 - from the following registry location...
    2014-06-23 10:13:20 - SOFTWARE\Wow6432Node\Microsoft\Microsoft WCF Data Services\5.0
    2014-06-23 10:13:20 - The value is...
    2014-06-23 10:13:20 - 5.0.51212.0
    2014-06-23 10:13:20 - A higher version of the prerequisite above is already installed
    2014-06-23 10:13:20 - Check whether the following prerequisite is installed:
    2014-06-23 10:13:20 - Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763)
    2014-06-23 10:13:20 - Reading the following DWORD value/name...
    2014-06-23 10:13:20 - IsInstalled
    2014-06-23 10:13:20 - from the following registry location...
    2014-06-23 10:13:20 - SOFTWARE\Wow6432Node\Microsoft\Updates\AppFabric 1.1 for Windows Server\KB2671763
    2014-06-23 10:13:20 - The value is (1)
    2014-06-23 10:13:20 - The prerequisite above is already installed
    2014-06-23 10:16:23 - Opening log file
    2014-06-23 10:16:23 - Opened action for user
    2014-06-23 10:16:23 - C:\Users\ADMINI~1\AppData\Local\Temp\2\prerequisiteinstaller.2014.06.23-10.13.12.log

    It looks like you may have extracted the files to C:\sp2013. Can you try installing from a mounted ISO instead? Can you also validate that this is Server 2012 and not 2012 R2?
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Prerequisiteinstaller.exe error - unable to install Application Server Role, Web Server (IIS) Role

    Windows Server 2012 R2 running on Hyper-V VM.  File services, App server & IIS roles installed
    SQL Server 2012 installed
    Tried:
    kb 2765260 method 1 which is kb 2771431 which ends with "not applicable to computer"
    kb 2765260 method 2 with no effect (this was power shell commands for PC's connected to the internet)
    One post suggested "aspnet_regii - enable -i" but my OS doesn't have aspnet_regii on it (not sure what that implies)
    One post suggested ServerManagerCmd.exe needed to be installed which sounds true as shown below (but where do I find this exe?)
    There are some errors in the log file,  I only included the portions where the errors are listed.  The initial lines are at the top of the log file, then I skipped to the section where the other errors were.  I can include the whole log if
    it becomes necessary.
    9:47:11 Processor architecture is (9)
    9:47:11 Reading the following string value/name...
    9:47:11 Common Startup
    9:47:11 from the following registry location...
    9:47:11 SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
    9:47:11 The value is...
    9:47:11 C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
    9:47:11 Trying to remove the startup task if there is any.
    9:47:11 C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\SharePointServerPreparationToolStartup_0FF1CE14-0000-0000-0000-000000000000.cmd
    9:47:11 Error: Startup task doesn't exist. This is not a continuation after a restart.
    9:47:11 Locating the following command line arguments file:
    9:47:11 E:\PrerequisiteInstaller.Arguments.txt
    9:47:11 Error: This file does not exist
    9:47:11 Details of the current operating system:
    9:47:11 Check whether the following prerequisite is installed:
    9:47:11 Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763)
    9:47:11 Reading the following DWORD value/name...
    9:47:11 IsInstalled
    9:47:11 from the following registry location...
    9:47:11 SOFTWARE\Wow6432Node\Microsoft\Updates\AppFabric 1.1 for Windows Server\KB2671763
    9:47:17 Beginning download/installation
    9:47:17 Created thread for installer
    9:47:17 "C:\Windows\system32\ServerManagerCmd.exe" -inputpath "C:\Users\ADMINI~1\AppData\Local\Temp\1\PreE0DB.tmp.XML"
    9:47:17 Error: Unable to install (2)
    9:47:17 Error: [In HRESULT format] (-2147024894)
    9:47:17 Last return code (2)
    9:47:17 Reading the following DWORD value/name...
    9:47:17 Flags
    9:47:17 from the following registry location...
    9:47:17 SOFTWARE\Microsoft\Updates\UpdateExeVolatile
    9:47:17 Reading the following string value/name...
    9:47:17 PendingFileRenameOperations
    9:47:17 from the following registry location...
    9:47:17 SYSTEM\CurrentControlSet\Control\Session Manager
    9:47:17 Reading the following registry location...
    9:47:17 SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
    9:47:17 Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.
    9:47:17 Last return code (2)
    9:47:17 Options for further diagnostics: 1. Look up the return code value 2. Download the prerequisite manually and verify size downloaded by the prerequisite installer. 3. Install the prerequisite manually from the given location without any command line options.
    9:47:17 Cannot retry
    I'm presuming the first 2 errors are OK and just indicate optional startup modes for prerequisiteinstaller.exe
    The 2nd set of errors seems more serious.  I don't see ServerManagerCmd.exe on my PC that's listed in the error
    I don't understand the last error which I'm supposing triggered the listed error even though there are other errors in the log.
    Many of the existing posts don't match the configuration I'm using, and the ones that do match didn't seem to provide a usable answer.  Any help is appreciated.  Do these problems exist using Sever 2012 Standard?  I will try that, but would
    like to resolve the issue here with R2.
    Thanks.
    Best Regards,
    Alan

    ServerManagerCMD.exe is a deprecated utility and (as far as I know) is only found on Server 2008 versions, so I'm surprised it's needed for the preinstaller.  Are you trying to install SharePoint 2010?
    Running this page through Google Translate should give you an clearer idea on getting this installed.
    http://blog.hand-net.com/sharepoint/2010-06-10-error-lors-de-linstallation-des-office-web-apps-2010-sur-windows-7.htm
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Sun Java System Web Server 6.1 SP3 service-j2ee threads problem

    Hi,
    Sorry my english.
    I'm an intermediate Java programmer and a newbie in
    the Sun's web servers world.
    I'm doing an evaluation of an web applicaction
    written in Java Servlets that is
    supposed to have a leaking threads problem. We use
    SunOS 5.9 (... sun4u sparc SUNW,UltraAX-i2) and
    JVM 1.5 Update 4 (the problem is presented too
    in SunOS 5.8 and JVM 1.4.2_04).
    We have seen, thanks to 'prstat' (PROCESS/NLWP) a
    increasing thread's growing in one of the process
    that correspond to our web server instance (I'm sure I'm
    looking the right process). I have checkout the source
    code and it seems like the app doesn't have threads
    problems. I have used the Netbeans Profiler and I see a
    high number of threads called service-j2ee-x that grows
    in congestion moments and never disappear.
    Anybody could help me with suggestions?
    Thank you very much.

    Elvin,
    Thankyou, yes I am unfamiliar with debugging Java apps. I got the web server Java stack trace and I have passed this on to the developer.
    The web server finally closes the socket connection after the total connections queued exceeds 4096.
    There are several hundred entries like this... waiting for monitor entry.. could be a deadlock somewhere?
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: "service-j2ee-506" prio=5 tid=0x04b62a08 nid=0x17a waiting for monitor entry [dd74e000..dd74f770]
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at com.verity.search.util.JSDispenser.getConnResource(Unknown Source)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: - waiting to lock <0xe979b2b0> (a com.verity.search.util.JSDispenser)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at com.verity.search.DocRead.getDoc(Unknown Source)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at com.verity.search.DocRead.getDoc(Unknown Source)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at com.verity.search.DocRead.docViewIntern(Unknown Source)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at com.verity.search.DocRead.docView(Unknown Source)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at au.com.relevance.viewDoc.PdfXmlServlet.performRequest(PdfXmlServlet.java:120)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at au.com.relevance.viewDoc.PdfXmlServlet.doGet(PdfXmlServlet.java:141)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:787)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: "StandardManager[highlight]" daemon prio=5 tid=0x000f3530 nid=0x1e waiting on condition [e15ff000..e15ffc28]
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.Thread.sleep(Native Method)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.session.StandardManager.threadSleep(StandardManager.java:800)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.session.StandardManager.run(StandardManager.java:859)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.Thread.run(Thread.java:534)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: "WebappLoader[highlight]" daemon prio=5 tid=0x000f3328 nid=0x1d waiting on condition [e16ff000..e16ffc28]
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.Thread.sleep(Native Method)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.loader.WebappLoader.threadSleep(WebappLoader.java:1214)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.loader.WebappLoader.run(WebappLoader.java:1341)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.Thread.run(Thread.java:534)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: "StandardManager[]" daemon prio=5 tid=0x000f2b08 nid=0x1c waiting on condition [e1b7f000..e1b7fc28]
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.Thread.sleep(Native Method)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.session.StandardManager.threadSleep(StandardManager.java:800)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.session.StandardManager.run(StandardManager.java:859)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.Thread.run(Thread.java:534)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: "WebappLoader[]" daemon prio=5 tid=0x000f2900 nid=0x1b waiting on condition [e1c7f000..e1c7fc28]
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.Thread.sleep(Native Method)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.loader.WebappLoader.threadSleep(WebappLoader.java:1214)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.loader.WebappLoader.run(WebappLoader.java:1341)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.Thread.run(Thread.java:534)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: "StandardManager[sitesearch]" daemon prio=5 tid=0x000f1cd0 nid=0x1a waiting on condition [e23ff000..e23ffc28]
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.Thread.sleep(Native Method)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.session.StandardManager.threadSleep(StandardManager.java:800)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.session.StandardManager.run(StandardManager.java:859)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.Thread.run(Thread.java:534)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: "WebappLoader[sitesearch]" daemon prio=5 tid=0x000f1ac8 nid=0x19 waiting on condition [e24ff000..e24ffc28]
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.Thread.sleep(Native Method)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.loader.WebappLoader.threadSleep(WebappLoader.java:1214)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.loader.WebappLoader.run(WebappLoader.java:1341)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.Thread.run(Thread.java:534)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: "StandardManager[search]" daemon prio=5 tid=0x000f0a88 nid=0x18 waiting on condition [e317f000..e317fc28]
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.Thread.sleep(Native Method)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.session.StandardManager.threadSleep(StandardManager.java:800)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at org.apache.catalina.session.StandardManager.run(StandardManager.java:859)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.Thread.run(Thread.java:534)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: "Signal Dispatcher" daemon prio=10 tid=0x000ef840 nid=0x12 waiting on condition [0..0]
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: "Finalizer" daemon prio=8 tid=0x000ef638 nid=0x10 in Object.wait() [fa27f000..fa27fc28]
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.Object.wait(Native Method)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: - waiting on <0xe917fb10> (a java.lang.ref.ReferenceQueue$Lock)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: - locked <0xe917fb10> (a java.lang.ref.ReferenceQueue$Lock)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: "Reference Handler" daemon prio=10 tid=0x000ef430 nid=0xf in Object.wait() [fa37f000..fa37fc28]
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.Object.wait(Native Method)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: - waiting on <0xe917fb78> (a java.lang.ref.Reference$Lock)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.Object.wait(Object.java:429)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: - locked <0xe917fb78> (a java.lang.ref.Reference$Lock)
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: "main" prio=5 tid=0x000ee3f0 nid=0x1 runnable [0..ffbff200]
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: "VM Thread" prio=5 tid=0x004ee328 nid=0xe runnable
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: "VM Periodic Task Thread" prio=10 tid=0x004ee5d0 nid=0x16 waiting on condition
    [15/May/2006:22:01:51] warning ( 3196): CORE3283: stderr: "Suspend Checker Thread" prio=10 tid=0x004ee548 nid=0x11 runnable
    [15/May/2006:22:15:10] failure ( 3196): HTTP3287: connection limit (4096) exceeded, closing socket

  • How to delete a file on web server without using FTP

    Hi All
    I hv given a facility to a site user to upload some files..
    And an interface to web administrator to view all the files..
    I want to know how can i write a code in JSP which allow the web administrator to delete any of that file which is not of his/her interest through provided interface only.
    OR
    Is it possible to delete a particular file from web server without getting login into FTP account
    Thanx

    new File(strFileName).remove;
    Simply as this.
    Don't forget to import java.io.FileInputStream.

  • I need to Health check for Web server and need report on daily basis

    Hello,
    How to monitor Web servers  ?
    It would be great for administrators to have a daily alert using power shell script for web server
    Can anyone have any scripts that triggers email like IIS services , etc.. are up and running.
    Thanks
    Pushparaj
    Thanks, Pushparaj

    Hi Pushparaj, this forum is not for sharing or building script based on request
    You check the below code and build your script
    $Service = Get-WmiObject -Class Win32_Service -ComputerName SERVERNAME | ?{$_.Name -eq 'IISADMIN'}
    Send-MailMessage -From 'mailID' -To 'mailID' -SmtpServer 'XXXX.DOMAIN.XXX' -Body $Service.State `
    -Subject 'IIS Service'
    Search Script
    Request Script
    See this script and modify as per your needs
    Regards Chen V [MCTS SharePoint 2010]

Maybe you are looking for

  • Tab in Mail goes to too many wrong places in SL

    Since upgrading to Snow Leopard 10.6.1, if I tab down from the To field to get into the message area, the tab first tabs/stops at each and every box in the bar there between the Subject field and the Message field (Customize, From, SMTP, and Signatur

  • Why can't I view an image in CS6 in the Image Size Box?

    Does anyone know what I can do to view an image in the Image Size dialog box in CS6?  Tutorials show how it's an improved feature but, I can't view any images in it.  My version looks exactly like the old CS5 version with no window to view a photo. 

  • MDX execn error: "Dimension Signature mismatch"

    Hi All, I'm trying to run an MDX script against Essbase, and I get the below message: "Dimension Signature mismatch in function [SET CONSTRUCTOR]" Unexpected Essbase error 1260054. The MDX query is as below, the error occurs in line 5: select {[CurFc

  • Syslog logging issues

    I am having trouble setting up a server for syslogd files on Solaris 10 update 8 (october release, i think). I have this working find on another machine, it has solaris 10 update 7, although I doubt that the difference in Solaris updates is the probl

  • DC pulse output analog input

    I am using a 6221 PCI DAQ card and attempting to put out a DC level for a several different times.  During the output of each DC level I need to sample two DC inputs via the analog input.  Most of my DC levels last for 100s of seconds each and a samp