Problem in jdbc with Apache

i wanne make my ResultSet Scrool
when i make it
causes Apache server to fail
but when i use the same code in console application
it gave me my result well
when i make resultset in my jsp code forward only
it run but not gave me valid date
i see that the problem is in Apache
thanx for help

post ur code..

Similar Messages

  • Problem connecting JDBC with SQLServer 2005

    * While executing the following JDBC code with SQLServer 2005, it throws Exception
    * I dont wts wrong in my code, (Note: I have included the sqljdbc.jar in my path)
    * Pls let me know the problems in my code
    * Thanks, Following is my code and error
    CODE:
    import java.sql.*;
    public class JDBCwithJava {
         public void work() {
               // Create a variable for the connection string.
               String connectionUrl = "jdbc:sqlserver://localhost:1433;" +"databaseName=empdb";
               // Declare the JDBC objects.
               Connection con = null;
               Statement stmt = null;
               ResultSet rs = null;
               try {
                    //Load the driver
                  Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
                  // Establish the connection.
                  con = DriverManager.getConnection(connectionUrl);
                  System.out.println("Database Successfully Connected...!");
                  //Connection Info
                  DatabaseMetaData dm = con.getMetaData();
                 System.out.println("Driver Information");
                 System.out.println("\t Driver Name: "+ dm.getDriverName());
                 System.out.println("\t Driver Version: "+ dm.getDriverVersion ());
                 System.out.println("\n Database Information ");
                 System.out.println("\t Database Name: "+ dm.getDatabaseProductName());
                 System.out.println("\t Database Version: "+ dm.getDatabaseProductVersion());
                  // Create and execute an SQL statement that returns some data.
                  String SQL = "select  * from emptable";
                  stmt = con.createStatement();
                  rs = stmt.executeQuery(SQL);
                  // Iterate through the data in the result set and display it.
                  while (rs.next()) {
                     System.out.println(rs.getInt(1) + " " + rs.getString(2));
               // Handle any errors that may have occurred.
               catch (Exception e) {
                  e.printStackTrace();
               finally {
                  if (rs != null)
                       try {
                            rs.close();
                      catch(Exception e) {
                  if (stmt != null) try { stmt.close(); } catch(Exception e) {}
                  if (con != null) try { con.close(); } catch(Exception e) {}
         public static void main(String ar[]){
              JDBCwithJava call = new JDBCwithJava();
              call.work();
    OUTPUT with ERROR:
    com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host  has failed. java.net.ConnectException: Connection refused: connect
         at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at JDBCwithJava.work(JDBCwithJava.java:17)
         at JDBCwithJava.main(JDBCwithJava.java:58)* Please give me your suggestion about the above program.........

    JavaImran wrote:
    RoyGrini wrote :
    Looks like login problems. Username/password or windows authentication logon problem.        * I didnt give any UN and Pwd for my database.........And the
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)gives you a 'connection refused'
    Try with providing a SQL username/password. Maybe that will work
    - Roy

  • Transaction Locking Problem in JDBC with ResultSet : ORA-17090.

    I have a locking concern using JDBC. I select a set of records to determine if they
    need to to be updated by a set of generated results (from else where in the program).
    If the results are not in this cursored set of records selected they are to be INSERTED
    else they (if they are in the select set) they are to be UPDATED.
    I set up a ResultSet using concurrancy parameters so that I can scroll through them for
    each of the program results to check. If I set up the ResultSet with TYPE_SCROLL_INSENSITIVE,
    CONCUR_UPDATABLE, I get a possible race condition if I am accessing teh same records
    through some other program such as toad. As such the first record is not checked (if my
    cursor in toad is on this first record) and as such is duplicated.
    If I set up the ResultSet with TYPE_SCROLL_SENSITIVE, CONCUR_READ_ONLY. This fixes this
    concurrancy problem but occassionally I get the following error which is Oracle based and
    not documented:
    java.sql.SQLException: operation not allowed: Unsupported syntax for refreshRow()
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:251) at
    oracle.jdbc.driver.SensitiveScrollableResultSet.refreshRow(SensitiveScrollableResultSet.java:171)
    at oracle.jdbc.driver.SensitiveScrollableResultSet.handle_refetch(SensitiveScrollableResultSet.java:239)
    at oracle.jdbc.driver.SensitiveScrollableResultSet.next(SensitiveScrollableResultSet.java:83)
    at sfwmd.hisa.oneflow.TimeSeries.load(TimeSeries.java:2502)
    at sfwmd.hisa.oneflow.OneParameter.main(OneParameter.java:808)
    which translates to an ORA-17090 (operation not allowed)
    {NOTE: I do NOT call ResultSet.refreshRow() anywhere in my program}
    I do not see any methods in ResultSet for record locking, outside of the mentioned parameters
    in the constructor. The database (updates and inserts) changes are all batched and executed
    AFTER this ResultSet is released.
    -James Fox
    [email protected]

    post ur code..

  • Problems configuring JPDK with apache

    I have ias 9i on solaris
    oracle portal configured and running fine
    ojsp and xml parser configured
    I am trying to configure JPDK and use the samples that come with JPDK, but I have problems. I follow the instructions exactly: change the required parameters in jserv.properties, zone.properties and provider.xml. When I restart Apache and try to access the sample (http://server:port/servlet/sample) I get an HTTP 404 File not found error. I've checked and I can run succesfully servlets/JSP's. I would appriciate any help on this!!!!

    Argyris,
    I had the exact same problem with it not being able to locate the oracle jar file. Not matter how I changed the wrapper.classpath it would not work.
    I was able to resolve this by modifying the startJServ.sh file in the /Apache/bin directory to set the CLASSPATH environment variable and then run the startJServ.sh to start both the Apache and then Jserv. This will start Jserv manually so you'll also have to modify the jserv.conf file to set autostart to ON. This worked for me, hopefully it will work for you too...can't figure out why it doesn't work the correct way, I put in a tar but they couldn't find the problem either.

  • Error in JDBC with Apache Tomcat5.0

    Hi......
    Now am using Tomcat5.0..Here database connnection is not working...(But all other jsp and servlets are working)....But in Tomcat 4.0 database connections are working well.Now i want to execute the connection using Apache Tomcat5.0...using Tomcat 5.0 it shows some errors.I set the Data source name properly...
    But I don't know why this errors are coming?
    I wrote some simple code only. here is.....
    <%@ page import="java.sql.*"%>
    <% Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection cn=DriverManager.getConnection("jdbc:odbc:erp","","");
    out.println(cn);%>
    The error is
    javax.servlet.ServletException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
    org.apache.jsp.sample2_jsp._jspService(sample2_jsp.java:63)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6879)
    sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7036)
    sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:3028)
    R u having anyidea abt this??..
    But i set the DSN properly.......

    But i set the DSN properly.Care to bet?

  • Right problem with apache and tomcat

    Bonjour;
    I use a user login "apache" to stop/start Apache and tomcat. Because never launching apache et tomcat as root.
    But I have the following problem with apache (file error.log) :
    [Tue May  6 17:26:22 2003] [error] Connection "warpConnection" cannot connect
    [Tue May  6 17:26:22 2003] [error] Cannot open connection "warpConnection"
    [Tue May  6 17:27:01 2003] [error] Re-Trying to deploy connections
    As root the error msg does'nt exists (lost)
    Best regards;
    A+;

    Run it from the shell to see whats wrong:
    # httpd

  • Problem in Jdbc connectivity with Oracle8i!!

    can you tell me,
    how can i connect jdbc with oracle 8i.
    i written a connectivity code with oci8.
    here is that two lines.
    Class.forName("oracle.jdbc.driver.OracleDriver");
    m_conn = DriverManager.getConnection("jdbc:oracle:oci8:@qit-uq-cbiw_orcl","scott","tiger");
    i was able to compile the script.But when i try to run this with jsp,then it was showing me an error saying "no driver specified".
    pls help me to sort out this problem.
    thanx
    SR-
    shiju.dreamcenter.net
    null

    Shiju,
    You need to include the port and SID in your connect string. So if your port is 1521 and your SID is ORCL, your connect string becomes
    "jdbc:oracle:oci8:@qit-uq-cbiw_orcl:1521:ORCL"
    Blaise
    null

  • Problems with Apache and custom JSPs

    Hi
    We've made an application on top of IFS, using JWS in our test envirnment. Just before making some stress tests, I'd like to try it using Apache. We're currently having two problems:
    1) I switch to the apache configuration running ifsconfig and not selecting JWS. When I try to access the ifs using http://host/ifs/files, everything goes well except that the "logout" icon doesn't appear. I did a little research and found out that the link goes to /ifs/webui/images/logout.gif. This gives an error in mod_jserv.log, like this one:
    [07/06/2001 22:54:20:315] (ERROR) ajp12: Servlet Error: ClassNotFoundException: webui
    It seems it's trying to find a "webui" class, since in ifs.properties every url that begins with /ifs goes to jserv.
    I don't know if this is a know problem or what should I've check...
    2) This one is more important. We're using some custom JSPs, which we use to edit the properties of some types of documents. Basically, when the user clicks over a file one of our JSP appears. These JSPs call a bean to do some processing, passing the HttpRequest as a parameter. The problem is that when using JWS we get the "path" request variable like in path=/%3A29464
    However, when using Apache we get path=/ifs/files/%3A29464 ( and afterwards we get an exception because the ifsSession.getPublicObject method doesn't work).
    Any hints on this? One way could be to check if the path begins with /ifs/files, but that's not really nice.. and besides I could have the same problem in some other parts.
    It's kind of urgent....
    Thanks
    Ramiro
    null

    Hi,
    The answer to your path problem is that you can make use of API to find out the current path so that it works both with Apache and with JWS. Follow the steps
    1. import the oracle.ifs.adk.http package in your custom jsps
    <%@ page import = "oracle.ifs.adk.http.*" %>
    2. Then within your jsp use the method
    getIfsPathFromJSPRedirect
    <%= oracle.ifs.adk.http.HttpUtils.getIfsPathFromJSPRedirect(request) %>
    This will give you the current path of the object on which you clicked on and which initiates the custom jsp.
    You can look at the CMS application which has made use of this API. URL is
    http://otn.oracle.com/sample_code/products/ifs/sample_code_index.htm
    Choose, sample applicatin -> Content Management system.
    Hope this helps
    Rajesh
    null

  • Problems with mobile projects with apache flex 4.8 and an overlay of the latest air sdk

    Using flash builder 4.7 beta, apache flex 4.8 and an overlay of the latest air sdk, i got resolution problems while testing the mobile app (windows version on windows 7) with the air (ipad)emulator. That means the emulator is much bigger than my screen (logicaly seen the resolution of my screen and also like this in earlier version), but the app is much smaller than the emulator. As I have no design view with apache flex 4.8, I don't know where to start searching. Can anyone give me some input?
    Gert

    Hi Crill,
    I don't see any error on creating new projects and running the same.
    Where did you get the installer from?
    What is the framework linkage type? You can check this in project properties -> flex build path. It should be Merged into code for Apache SDK.
    thanks,
    Sudhir

  • How to solve this problem in Visual Studio 2013 Community with Apache Cordova

    I'm trying to run an application in VisualStudio2013
    community with Apache Cordova
    and I'm getting a lot of error messages.
    Any ideia about this?
    Regards,
    Samambaia Jr.

    What version of the VS Cordova Extension are you using?  CTP3.0?   It looks like your node packages didn't get installed properly.  Try clearing the Cordova Cache (Tools/Options/Tools for Apache Cordova/Cordova Tools).  After
    that, reload your project and rebuild.
    -Ellen
     

  • Svn with Apache Timeout issue

    Hello Archers,
    I've set up an svn Server with Apache folloing your wiki on my raspberry pi.
    https://wiki.archlinux.org/index.php/LAMP
    https://wiki.archlinux.org/index.php/Subversion_Setup
    Unfortunately I get errors when I try to commit several files (15 or so). I think it is a timeout issue, however I don't know where to specify the timeout in the httpd.conf (or httpd-ssl.conf)
    This is a client error message:
    Commit failed (details follow):
    Unexpected end of svndiff Input
    And this the corresponding server side log:
    [date] [dav:error] [pid 448:tid 2854220848] (70007)The timeout specified has expired: [client 192.168.178.55:63819] Timeout reading the body (URI: /Dokumente/!svn/txr/9-q/Music/myfile.mp3) [408, #0]
    [date] [dav:error] [pid 448:tid 2854220848] [client 192.168.178.55:63819] mod_dav_svn close_stream: error closing write stream [500, #185004]
    [date] [dav:error] [pid 448:tid 2854220848] [client 192.168.178.55:63819] Unexpected end of svndiff input [500, #185004]
    I assume it is some error like this: http://subversion.apache.org/faq.html#s … -truncated
    I think I don't have specified the timeouts correctly, since I haven't found the default option.
    tl:dr
    Do you know how to set the timeouts in the apache configuration file?
    I very much appreciate your help.
    arch on pi
    Here are my configuration Files with my position for the timeout order:
    httpd-ssl.conf:
    # This is the Apache server configuration file providing SSL support.
    # It contains the configuration directives to instruct the server how to
    # serve pages over an https connection. For detailed information about these
    # directives see <URL:http://httpd.apache.org/docs/2.4/mod/mod_ssl.html>
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # Required modules: mod_log_config, mod_setenvif, mod_ssl,
    # socache_shmcb_module (for default value of SSLSessionCache)
    # Pseudo Random Number Generator (PRNG):
    # Configure one or more sources to seed the PRNG of the SSL library.
    # The seed data should be of good random quality.
    # WARNING! On some platforms /dev/random blocks if not enough entropy
    # is available. This means you then cannot use the /dev/random device
    # because it would lead to very long connection times (as long as
    # it requires to make more entropy available). But usually those
    # platforms additionally provide a /dev/urandom device which doesn't
    # block. So, if available, use this one instead. Read the mod_ssl User
    # Manual for more details.
    #SSLRandomSeed startup file:/dev/random 512
    SSLRandomSeed startup file:/dev/urandom 512
    #SSLRandomSeed connect file:/dev/random 512
    SSLRandomSeed connect file:/dev/urandom 512
    # When we also provide SSL we have to listen to the
    # standard HTTP port (see above) and to the HTTPS port
    Listen 443
    ## SSL Global Context
    ## All SSL configuration in this context applies both to
    ## the main server and all SSL-enabled virtual hosts.
    # SSL Cipher Suite:
    # List the ciphers that the client is permitted to negotiate.
    # See the mod_ssl documentation for a complete list.
    SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
    # Speed-optimized SSL Cipher configuration:
    # If speed is your main concern (on busy HTTPS servers e.g.),
    # you might want to force clients to specific, performance
    # optimized ciphers. In this case, prepend those ciphers
    # to the SSLCipherSuite list, and enable SSLHonorCipherOrder.
    # Caveat: by giving precedence to RC4-SHA and AES128-SHA
    # (as in the example below), most connections will no longer
    # have perfect forward secrecy - if the server's key is
    # compromised, captures of past or future traffic must be
    # considered compromised, too.
    #SSLCipherSuite RC4-SHA:AES128-SHA:HIGH:MEDIUM:!aNULL:!MD5
    #SSLHonorCipherOrder on
    # Pass Phrase Dialog:
    # Configure the pass phrase gathering process.
    # The filtering dialog program (`builtin' is an internal
    # terminal dialog) has to provide the pass phrase on stdout.
    SSLPassPhraseDialog builtin
    # Inter-Process Session Cache:
    # Configure the SSL Session Cache: First the mechanism
    # to use and second the expiring timeout (in seconds).
    #SSLSessionCache "dbm:/run/httpd/ssl_scache"
    SSLSessionCache "shmcb:/run/httpd/ssl_scache(512000)"
    SSLSessionCacheTimeout 6000
    ## SSL Virtual Host Context
    <VirtualHost _default_:443>
    # General setup for the virtual host
    DocumentRoot "/mnt/sda1/svn"
    ServerName 192.168.178.48:443
    ServerAdmin [email protected]
    ErrorLog "/var/log/httpd/error_log"
    TransferLog "/var/log/httpd/access_log"
    # SSL Engine Switch:
    # Enable/Disable SSL for this virtual host.
    SSLEngine on
    # Server Certificate:
    # Point SSLCertificateFile at a PEM encoded certificate. If
    # the certificate is encrypted, then you will be prompted for a
    # pass phrase. Note that a kill -HUP will prompt again. Keep
    # in mind that if you have both an RSA and a DSA certificate you
    # can configure both in parallel (to also allow the use of DSA
    # ciphers, etc.)
    # Some ECC cipher suites (http://www.ietf.org/rfc/rfc4492.txt)
    # require an ECC certificate which can also be configured in
    # parallel.
    SSLCertificateFile "/etc/httpd/conf/server.crt"
    #SSLCertificateFile "/etc/httpd/conf/server-dsa.crt"
    #SSLCertificateFile "/etc/httpd/conf/server-ecc.crt"
    # Server Private Key:
    # If the key is not combined with the certificate, use this
    # directive to point at the key file. Keep in mind that if
    # you've both a RSA and a DSA private key you can configure
    # both in parallel (to also allow the use of DSA ciphers, etc.)
    # ECC keys, when in use, can also be configured in parallel
    SSLCertificateKeyFile "/etc/httpd/conf/server.key"
    #SSLCertificateKeyFile "/etc/httpd/conf/server-dsa.key"
    #SSLCertificateKeyFile "/etc/httpd/conf/server-ecc.key"
    # Server Certificate Chain:
    # Point SSLCertificateChainFile at a file containing the
    # concatenation of PEM encoded CA certificates which form the
    # certificate chain for the server certificate. Alternatively
    # the referenced file can be the same as SSLCertificateFile
    # when the CA certificates are directly appended to the server
    # certificate for convenience.
    #SSLCertificateChainFile "/etc/httpd/conf/server-ca.crt"
    # Certificate Authority (CA):
    # Set the CA certificate verification path where to find CA
    # certificates for client authentication or alternatively one
    # huge file containing all of them (file must be PEM encoded)
    # Note: Inside SSLCACertificatePath you need hash symlinks
    # to point to the certificate files. Use the provided
    # Makefile to update the hash symlinks after changes.
    #SSLCACertificatePath "/etc/httpd/conf/ssl.crt"
    #SSLCACertificateFile "/etc/httpd/conf/ssl.crt/ca-bundle.crt"
    # Certificate Revocation Lists (CRL):
    # Set the CA revocation path where to find CA CRLs for client
    # authentication or alternatively one huge file containing all
    # of them (file must be PEM encoded).
    # The CRL checking mode needs to be configured explicitly
    # through SSLCARevocationCheck (defaults to "none" otherwise).
    # Note: Inside SSLCARevocationPath you need hash symlinks
    # to point to the certificate files. Use the provided
    # Makefile to update the hash symlinks after changes.
    #SSLCARevocationPath "/etc/httpd/conf/ssl.crl"
    #SSLCARevocationFile "/etc/httpd/conf/ssl.crl/ca-bundle.crl"
    #SSLCARevocationCheck chain
    # Client Authentication (Type):
    # Client certificate verification type and depth. Types are
    # none, optional, require and optional_no_ca. Depth is a
    # number which specifies how deeply to verify the certificate
    # issuer chain before deciding the certificate is not valid.
    #SSLVerifyClient require
    #SSLVerifyDepth 10
    # TLS-SRP mutual authentication:
    # Enable TLS-SRP and set the path to the OpenSSL SRP verifier
    # file (containing login information for SRP user accounts).
    # Requires OpenSSL 1.0.1 or newer. See the mod_ssl FAQ for
    # detailed instructions on creating this file. Example:
    # "openssl srp -srpvfile /etc/httpd/conf/passwd.srpv -add username"
    #SSLSRPVerifierFile "/etc/httpd/conf/passwd.srpv"
    # Access Control:
    # With SSLRequire you can do per-directory access control based
    # on arbitrary complex boolean expressions containing server
    # variable checks and other lookup directives. The syntax is a
    # mixture between C and Perl. See the mod_ssl documentation
    # for more details.
    #<Location />
    #SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \
    # and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \
    # and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \
    # and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \
    # and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \
    # or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
    #</Location>
    # SSL Engine Options:
    # Set various options for the SSL engine.
    # o FakeBasicAuth:
    # Translate the client X.509 into a Basic Authorisation. This means that
    # the standard Auth/DBMAuth methods can be used for access control. The
    # user name is the `one line' version of the client's X.509 certificate.
    # Note that no password is obtained from the user. Every entry in the user
    # file needs this password: `xxj31ZMTZzkVA'.
    # o ExportCertData:
    # This exports two additional environment variables: SSL_CLIENT_CERT and
    # SSL_SERVER_CERT. These contain the PEM-encoded certificates of the
    # server (always existing) and the client (only existing when client
    # authentication is used). This can be used to import the certificates
    # into CGI scripts.
    # o StdEnvVars:
    # This exports the standard SSL/TLS related `SSL_*' environment variables.
    # Per default this exportation is switched off for performance reasons,
    # because the extraction step is an expensive operation and is usually
    # useless for serving static content. So one usually enables the
    # exportation for CGI and SSI requests only.
    # o StrictRequire:
    # This denies access when "SSLRequireSSL" or "SSLRequire" applied even
    # under a "Satisfy any" situation, i.e. when it applies access is denied
    # and no other module can change it.
    # o OptRenegotiate:
    # This enables optimized SSL connection renegotiation handling when SSL
    # directives are used in per-directory context.
    #SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
    <FilesMatch "\.(cgi|shtml|phtml|php)$">
    SSLOptions +StdEnvVars
    </FilesMatch>
    <Directory "/srv/http/cgi-bin">
    SSLOptions +StdEnvVars
    </Directory>
    # SSL Protocol Adjustments:
    # The safe and default but still SSL/TLS standard compliant shutdown
    # approach is that mod_ssl sends the close notify alert but doesn't wait for
    # the close notify alert from client. When you need a different shutdown
    # approach you can use one of the following variables:
    # o ssl-unclean-shutdown:
    # This forces an unclean shutdown when the connection is closed, i.e. no
    # SSL close notify alert is sent or allowed to be received. This violates
    # the SSL/TLS standard but is needed for some brain-dead browsers. Use
    # this when you receive I/O errors because of the standard approach where
    # mod_ssl sends the close notify alert.
    # o ssl-accurate-shutdown:
    # This forces an accurate shutdown when the connection is closed, i.e. a
    # SSL close notify alert is send and mod_ssl waits for the close notify
    # alert of the client. This is 100% SSL/TLS standard compliant, but in
    # practice often causes hanging connections with brain-dead browsers. Use
    # this only for browsers where you know that their SSL implementation
    # works correctly.
    # Notice: Most problems of broken clients are also related to the HTTP
    # keep-alive facility, so you usually additionally want to disable
    # keep-alive for those clients, too. Use variable "nokeepalive" for this.
    # Similarly, one has to force some clients to use HTTP/1.0 to workaround
    # their broken HTTP/1.1 implementation. Use variables "downgrade-1.0" and
    # "force-response-1.0" for this.
    BrowserMatch "MSIE [2-5]" \
    nokeepalive ssl-unclean-shutdown \
    downgrade-1.0 force-response-1.0
    # Per-Server Logging:
    # The home of a custom SSL log file. Use this when you want a
    # compact non-error SSL logfile on a virtual host basis.
    CustomLog "/var/log/httpd/ssl_request_log" \
    "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
    #SSLSessionTimeout 5m
    Timeout 600000
    <Location />
    DAV svn
    SVNParentPath /mnt/sda1/svn/repos
    AuthzSVNAccessFile /home/svn/.svn-policy-file
    AuthName "SVN Repositories"
    AuthType Basic
    AuthUserFile /home/svn/.svn-auth-file
    # Satisfy Any
    Require valid-user
    </Location>
    </VirtualHost>
    httpd.conf
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do *not* begin
    # with "/", the value of ServerRoot is prepended -- so "logs/access_log"
    # with ServerRoot set to "/usr/local/apache2" will be interpreted by the
    # server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
    # will be interpreted as '/logs/access_log'.
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path. If you point
    # ServerRoot at a non-local disk, be sure to specify a local disk on the
    # Mutex directive, if file-based mutexes are used. If you wish to share the
    # same ServerRoot for multiple httpd daemons, you will need to change at
    # least PidFile.
    ServerRoot "/etc/httpd"
    Timeout 60000
    # Mutex: Allows you to set the mutex mechanism and mutex file directory
    # for individual mutexes, or change the global defaults
    # Uncomment and change the directory if mutexes are file-based and the default
    # mutex file directory is not on a local disk or is not appropriate for some
    # other reason.
    # Mutex default:/run/httpd
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    Listen 80
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule authn_file_module modules/mod_authn_file.so
    #LoadModule authn_dbm_module modules/mod_authn_dbm.so
    #LoadModule authn_anon_module modules/mod_authn_anon.so
    #LoadModule authn_dbd_module modules/mod_authn_dbd.so
    #nach fehlermeldung
    LoadModule authn_socache_module modules/mod_authn_socache.so
    LoadModule authn_core_module modules/mod_authn_core.so
    LoadModule authz_host_module modules/mod_authz_host.so
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    LoadModule authz_user_module modules/mod_authz_user.so
    #LoadModule authz_dbm_module modules/mod_authz_dbm.so
    #LoadModule authz_owner_module modules/mod_authz_owner.so
    #LoadModule authz_dbd_module modules/mod_authz_dbd.so
    LoadModule authz_core_module modules/mod_authz_core.so
    #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    LoadModule access_compat_module modules/mod_access_compat.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    #LoadModule auth_form_module modules/mod_auth_form.so
    #LoadModule auth_digest_module modules/mod_auth_digest.so
    #LoadModule allowmethods_module modules/mod_allowmethods.so
    #LoadModule file_cache_module modules/mod_file_cache.so
    #Felhermeldung undefined symbols
    LoadModule cache_module modules/mod_cache.so
    #LoadModule cache_disk_module modules/mod_cache_disk.so
    #nach Fehlermeldung
    LoadModule cache_socache_module modules/mod_cache_socache.so
    #nochne Fehlermeldung
    LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
    #LoadModule socache_dbm_module modules/mod_socache_dbm.so
    #LoadModule socache_memcache_module modules/mod_socache_memcache.so
    #LoadModule watchdog_module modules/mod_watchdog.so
    #LoadModule macro_module modules/mod_macro.so
    #LoadModule dbd_module modules/mod_dbd.so
    #LoadModule dumpio_module modules/mod_dumpio.so
    #LoadModule echo_module modules/mod_echo.so
    #LoadModule buffer_module modules/mod_buffer.so
    #LoadModule data_module modules/mod_data.so
    #LoadModule ratelimit_module modules/mod_ratelimit.so
    LoadModule reqtimeout_module modules/mod_reqtimeout.so
    #LoadModule ext_filter_module modules/mod_ext_filter.so
    #LoadModule request_module modules/mod_request.so
    LoadModule include_module modules/mod_include.so
    LoadModule filter_module modules/mod_filter.so
    #LoadModule reflector_module modules/mod_reflector.so
    #LoadModule substitute_module modules/mod_substitute.so
    #LoadModule sed_module modules/mod_sed.so
    #LoadModule charset_lite_module modules/mod_charset_lite.so
    #LoadModule deflate_module modules/mod_deflate.so
    #LoadModule xml2enc_module modules/mod_xml2enc.so
    #LoadModule proxy_html_module modules/mod_proxy_html.so
    LoadModule mime_module modules/mod_mime.so
    #LoadModule ldap_module modules/mod_ldap.so
    LoadModule log_config_module modules/mod_log_config.so
    #LoadModule log_debug_module modules/mod_log_debug.so
    #LoadModule log_forensic_module modules/mod_log_forensic.so
    #LoadModule logio_module modules/mod_logio.so
    #LoadModule lua_module modules/mod_lua.so
    LoadModule env_module modules/mod_env.so
    #LoadModule mime_magic_module modules/mod_mime_magic.so
    #LoadModule cern_meta_module modules/mod_cern_meta.so
    #LoadModule expires_module modules/mod_expires.so
    LoadModule headers_module modules/mod_headers.so
    #LoadModule ident_module modules/mod_ident.so
    #LoadModule usertrack_module modules/mod_usertrack.so
    #LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule version_module modules/mod_version.so
    #LoadModule remoteip_module modules/mod_remoteip.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
    LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
    #LoadModule proxy_fdpass_module modules/mod_proxy_fdpass.so
    LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule proxy_express_module modules/mod_proxy_express.so
    #LoadModule session_module modules/mod_session.so
    #LoadModule session_cookie_module modules/mod_session_cookie.so
    #LoadModule session_crypto_module modules/mod_session_crypto.so
    #LoadModule session_dbd_module modules/mod_session_dbd.so
    LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
    #LoadModule slotmem_plain_module modules/mod_slotmem_plain.so
    #Fuer die cipher suite
    LoadModule ssl_module modules/mod_ssl.so
    #LoadModule dialup_module modules/mod_dialup.so
    LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
    LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so
    LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so
    LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so
    LoadModule mpm_event_module modules/mod_mpm_event.so
    LoadModule unixd_module modules/mod_unixd.so
    #LoadModule heartbeat_module modules/mod_heartbeat.so
    #LoadModule heartmonitor_module modules/mod_heartmonitor.so
    #1 for svn
    LoadModule dav_module modules/mod_dav.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    #LoadModule asis_module modules/mod_asis.so
    #LoadModule info_module modules/mod_info.so
    #LoadModule suexec_module modules/mod_suexec.so
    #LoadModule cgid_module modules/mod_cgid.so
    #LoadModule cgi_module modules/mod_cgi.so
    #2 for svn
    LoadModule dav_fs_module modules/mod_dav_fs.so
    #LoadModule dav_lock_module modules/mod_dav_lock.so
    #LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule dir_module modules/mod_dir.so
    #LoadModule imagemap_module modules/mod_imagemap.so
    #LoadModule actions_module modules/mod_actions.so
    #LoadModule speling_module modules/mod_speling.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule alias_module modules/mod_alias.so
    #LoadModule rewrite_module modules/mod_rewrite.so
    #3 for svn
    LoadModule dav_svn_module modules/mod_dav_svn.so
    LoadModule authz_svn_module modules/mod_authz_svn.so
    <IfModule unixd_module>
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User http
    Group http
    </IfModule>
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. [email protected]
    ServerAdmin [email protected]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    #ServerName www.example.com:80
    # Deny access to the entirety of your server's filesystem. You must
    # explicitly permit access to web content directories in other
    # <Directory> blocks below.
    <Directory />
    AllowOverride none
    Require all denied
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/mnt/sda1"
    #<Directory "/mnt/sda1/svn/repos">
    # # Possible values for the Options directive are "None", "All",
    # # or any combination of:
    # # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # # Note that "MultiViews" must be named *explicitly* --- "Options All"#
    # # doesn't give it to you.
    # # The Options directive is both complicated and important. Please see
    # # http://httpd.apache.org/docs/2.4/mod/core.html#options
    # # for more information.#
    # Options Indexes FollowSymLinks
    # # AllowOverride controls what directives may be placed in .htaccess files.
    # # It can be "All", "None", or any combination of the keywords:
    # # AllowOverride FileInfo AuthConfig Limit
    # AllowOverride None
    # # Controls who can get stuff from this server.
    # Require all granted
    #</Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
    DirectoryIndex index.html
    </IfModule>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <Files ".ht*">
    Require all denied
    </Files>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog "/var/log/httpd/error_log"
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule log_config_module>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
    # You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you *do*
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and *not* in this file.
    CustomLog "/var/log/httpd/access_log" common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog "/var/log/httpd/access_log" combined
    </IfModule>
    <IfModule alias_module>
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL. You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client. The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAlias /cgi-bin/ "/srv/http/cgi-bin/"
    </IfModule>
    <IfModule cgid_module>
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #Scriptsock cgisock
    </IfModule>
    # "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/srv/http/cgi-bin">
    AllowOverride None
    Options None
    Require all granted
    </Directory>
    <IfModule mime_module>
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    TypesConfig conf/mime.types
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #AddType application/x-gzip .tgz
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #AddHandler cgi-script .cgi
    # For type maps (negotiated resources):
    #AddHandler type-map var
    # Filters allow you to process content before it is sent to the client.
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
    </IfModule>
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #MIMEMagicFile conf/magic
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # MaxRanges: Maximum number of Ranges in a request before
    # returning the entire resource, or one of the special
    # values 'default', 'none' or 'unlimited'.
    # Default setting is to accept 200 Ranges.
    #MaxRanges unlimited
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall may be used to deliver
    # files. This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    # Defaults: EnableMMAP On, EnableSendfile Off
    #EnableMMAP off
    #EnableSendfile on
    # Supplemental configuration
    # The configuration files in the conf/extra/ directory can be
    # included to add extra features or to modify the default configuration of
    # the server, or you may simply copy their contents here and change as
    # necessary.
    # Server-pool management (MPM specific)
    Include conf/extra/httpd-mpm.conf
    # Multi-language error messages
    Include conf/extra/httpd-multilang-errordoc.conf
    # Fancy directory listings
    Include conf/extra/httpd-autoindex.conf
    # Language settings
    Include conf/extra/httpd-languages.conf
    # User home directories
    Include conf/extra/httpd-userdir.conf
    # Real-time info on requests and configuration
    #Include conf/extra/httpd-info.conf
    # Virtual hosts
    #Include conf/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include conf/extra/httpd-dav.conf
    # Various default settings
    Include conf/extra/httpd-default.conf
    # Configure mod_proxy_html to understand HTML4/XHTML1
    <IfModule proxy_html_module>
    Include conf/extra/proxy-html.conf
    </IfModule>
    # Secure (SSL/TLS) connections
    Include /etc/httpd/conf/extra/httpd-ssl.conf
    # Note: The following must must be present to support
    # starting without SSL on platforms with no /dev/random equivalent
    # but a statically compiled-in mod_ssl.
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>
    # uncomment out the below to deal with user agents that deliberately
    # violate open standards by misusing DNT (DNT *must* be a specific
    # end-user choice)
    #<IfModule setenvif_module>
    #BrowserMatch "MSIE 10.0;" bad_DNT
    #</IfModule>
    #<IfModule headers_module>
    #RequestHeader unset DNT env=bad_DNT
    #</IfModule>
    Edit: inserted tl;dr
    Last edited by arch_on_pi (2014-05-18 21:33:24)

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • JDBC with SQL Server

    Hi,
    I am trying to connect to a SQL server database by giving table name in (SPVC) database as spvc.dbo.tablename.. If i want to access another database (SPVC_D), how can i do it without changing my java code?? Can i be able to add the database name to the connection string and i can remove the hard coding (spvc.dbo.) from my java code?? How shall i be able to do that..
    Please let me know.. I am very new with JDBC with SQL server..
    Thanks
    Praveen Padala

    In the MS SQL Server that I use, the following syntax
    spvc.dbo.tablename
    Breaks done as follows...
    <database>.<user>.<tablename>
    However connections are always to a database. Thus when one uses the above syntax it basically runs 'in' the one database and accesses another.
    Depending on various attributes of the tables, if and only if, a table called 'tablename' exists in a database called 'spvc_d' then if you connect to 'spvc_d' then you can access 'tablename' just by using 'tablename'.
    So if that is what you are doing you will not have a problem.

  • I Need PHP 5.3 no longer avail in a VC6 compatable with Apache 2.2.15

    I appologize if this question is already answered somewhere (I did search a bit)..
    1. I have written a significant amount of my site using functions only available in PHP 5.3+ (ie not in PHP5.2)
    ( see php.net /manual/en/migration53.new-features.php )
    2. PHP (in thier infinite wisdom) have decicided that not only is there no longer a VC6 (ie Apache 2.2.15 compatable) build of php 5.3.6 but they removed the 5.3.3 build and are offering only 5.2.17 in a VC6 build suitable for use with the version of Apache built into FMS4.
    (see windows.php.net/download/ and note the lines:
    Do NOT use VC9 version with apache.org binaries.
    and
    VC9 versions of Apache can be fetched at Apache Lounge. We use their binaries to build the Apache SAPIs.)
    3. The FMS4 documentation says:
    (see help.adobe.com/en_US/flashmediaserver/configadmin/WSE2A5A7B9-E118-496f-92F9-E295038DB7DB. html#WS02f7d8d4857b1677-469e53bb12984254411-8000
    The recommended approach to upgrading the Apache web server is to install or build the Apache server in a directory that is separate from the existing server. Then copy the contents of newly-installed directories to the existing server.
    In most cases, you do not replace the existing Apache configuration files with the newer versions of these files. This is because the Apache web server installation for Flash Media Server is pre-configured with specific modules and settings.)
    My Question is:
    Does this even work? I sounds like a REALY BAD idea to me to instal a version of Apache built to use the Visual C 9 runtime and then kludge in an httpd.conf file that starts loading modules that were built to interact with a version that uses the Visual C 6 library. Has anyone actually done this successfully???
    I don't blame the FMS developers here (well except for the really bad idea of making Apache "part" of the FMS package in the first place) but you a shipping with a version of Apache that is incompatable with PHP! (OK, the _latest versions_ of PHP.. but that still makes this _your_ problem.. and a big problem at that if you ask me).
    Suggestions?

    # This section includes everything in the Apache 2.2.19 httpd.conf file's module load section.
    # The modules named in the FMS version of the httpd.conf file are _almost_ a subset of the 2.2.19 collection but
    # many statements are "live" only in the FMS version.
    # The numbers in parentheses are line numbers in the indicated httpd.conf file
    # 2.2.19(60) LoadModule actions_module modules/mod_actions.so
    # FMS(136)
    LoadModule actions_module modules/mod_actions.so
    # 2.2.19(61) LoadModule alias_module modules/mod_alias.so
    # FMS(137)
    LoadModule alias_module modules/mod_alias.so
    # 2.2.19(62) LoadModule asis_module modules/mod_asis.so
    # FMS(138)
    LoadModule asis_module modules/mod_asis.so
    # 2.2.19(63) LoadModule auth_basic_module modules/mod_auth_basic.so
    # FMS(139)
    LoadModule auth_basic_module modules/mod_auth_basic.so
    # 2.2.19(64) #LoadModule auth_digest_module modules/mod_auth_digest.so
    # FMS(140)
    LoadModule auth_digest_module modules/mod_auth_digest.so
    # 2.2.19(65) #LoadModule authn_alias_module modules/mod_authn_alias.so
    # 2.2.19(66) #LoadModule authn_anon_module modules/mod_authn_anon.so
    # FMS(141)
    LoadModule authn_anon_module modules/mod_authn_anon.so
    # 2.2.19(67) #LoadModule authn_dbd_module modules/mod_authn_dbd.so
    # 2.2.19(68) #LoadModule authn_dbm_module modules/mod_authn_dbm.so
    # FMS(142) #LoadModule authn_dbm_module modules/mod_authn_dbm.so
    # 2.2.19(69) LoadModule authn_default_module modules/mod_authn_default.so
    # FMS(143)
    LoadModule authn_default_module modules/mod_authn_default.so
    # 2.2.19(70) LoadModule authn_file_module modules/mod_authn_file.so
    # FMS(144)
    LoadModule authn_file_module modules/mod_authn_file.so
    # 2.2.19(71) #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    # 2.2.19(72) #LoadModule authz_dbm_module modules/mod_authz_dbm.so
    # FMS(145) #LoadModule authz_dbm_module modules/mod_authz_dbm.so
    # 2.2.19(73) LoadModule authz_default_module modules/mod_authz_default.so
    # FMS(146)
    LoadModule authz_default_module modules/mod_authz_default.so
    # 2.2.19(74) LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    # FMS(147)
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    # 2.2.19(75) LoadModule authz_host_module modules/mod_authz_host.so
    # FMS(148)
    LoadModule authz_host_module modules/mod_authz_host.so
    # 2.2.19(76) #LoadModule authz_owner_module modules/mod_authz_owner.so
    # 2.2.19(77) LoadModule authz_user_module modules/mod_authz_user.so
    # FMS(149)
    LoadModule authz_user_module modules/mod_authz_user.so
    # 2.2.19(78) LoadModule autoindex_module modules/mod_autoindex.so
    # FMS(150)
    LoadModule autoindex_module modules/mod_autoindex.so
    # 2.2.19(79) #LoadModule cache_module modules/mod_cache.so
    # 2.2.19(80) #LoadModule cern_meta_module modules/mod_cern_meta.so
    # FMS(151) #LoadModule cern_meta_module modules/mod_cern_meta.so
    # 2.2.19(81) LoadModule cgi_module modules/mod_cgi.so
    # FMS(152..154)
    <IfModule mpm_winnt_module>
    LoadModule cgi_module modules/mod_cgi.so
    </IfModule>
    # FMS(155..157)
    <IfModule worker_module>
    LoadModule cgid_module modules/mod_cgid.so
    </IfModule>
    # 2.2.19(82) #LoadModule charset_lite_module modules/mod_charset_lite.so
    # 2.2.19(83) #LoadModule dav_module modules/mod_dav.so
    # FMS(158)
    LoadModule dav_module modules/mod_dav.so
    # 2.2.19(84) #LoadModule dav_fs_module modules/mod_dav_fs.so
    # FMS(159)
    LoadModule dav_fs_module modules/mod_dav_fs.so
    # 2.2.19(85) #LoadModule dav_lock_module modules/mod_dav_lock.so
    # 2.2.19(86) #LoadModule dbd_module modules/mod_dbd.so
    # 2.2.19(87) #LoadModule deflate_module modules/mod_deflate.so
    # FMS(160)
    LoadModule deflate_module modules/mod_deflate.so
    # 2.2.19(88) LoadModule dir_module modules/mod_dir.so
    # FMS(161)
    LoadModule dir_module modules/mod_dir.so
    # 2.2.19(89) #LoadModule disk_cache_module modules/mod_disk_cache.so
    # 2.2.19(90) #LoadModule dumpio_module modules/mod_dumpio.so
    # 2.2.19(91) LoadModule env_module modules/mod_env.so
    # FMS(162)
    LoadModule env_module modules/mod_env.so
    # 2.2.19(92) #LoadModule expires_module modules/mod_expires.so
    # FMS(163) #LoadModule expires_module modules/mod_expires.so
    # 2.2.19(93) #LoadModule ext_filter_module modules/mod_ext_filter.so
    # 2.2.19(94) #LoadModule file_cache_module modules/mod_file_cache.so
    # FMS(164) #LoadModule file_cache_module modules/mod_file_cache.so
    # 2.2.19(95) #LoadModule filter_module modules/mod_filter.so
    # 2.2.19(96) #LoadModule headers_module modules/mod_headers.so
    # FMS(165) #LoadModule headers_module modules/mod_headers.so
    # 2.2.19(97) #LoadModule ident_module modules/mod_ident.so
    # 2.2.19(98) #LoadModule imagemap_module modules/mod_imagemap.so
    # FMS(166)
    LoadModule imagemap_module modules/mod_imagemap.so
    # 2.2.19(99) LoadModule include_module modules/mod_include.so
    # FMS(167)
    LoadModule include_module modules/mod_include.so
    # 2.2.19(100) #LoadModule info_module modules/mod_info.so
    # FMS(168)
    LoadModule info_module modules/mod_info.so
    # 2.2.19(101) LoadModule isapi_module modules/mod_isapi.so
    # FMS(169..171)
    <IfModule mpm_winnt_module>
    LoadModule isapi_module modules/mod_isapi.so
    </IfModule>
    # 2.2.19(102) #LoadModule ldap_module modules/mod_ldap.so
    # 2.2.19(103) #LoadModule logio_module modules/mod_logio.so
    # 2.2.19(104) LoadModule log_config_module modules/mod_log_config.so
    # FMS(172)
    LoadModule log_config_module modules/mod_log_config.so
    # 2.2.19(105) #LoadModule log_forensic_module modules/mod_log_forensic.so
    # 2.2.19(106) #LoadModule mem_cache_module modules/mod_mem_cache.so
    # 2.2.19(107) LoadModule mime_module modules/mod_mime.so
    # FMS(173)
    LoadModule mime_module modules/mod_mime.so
    # 2.2.19(108) #LoadModule mime_magic_module modules/mod_mime_magic.so
    # FMS(174)
    LoadModule mime_magic_module modules/mod_mime_magic.so
    # 2.2.19(109) LoadModule negotiation_module modules/mod_negotiation.so
    # FMS(181)
    LoadModule negotiation_module modules/mod_negotiation.so
    # 2.2.19(110) #LoadModule proxy_module modules/mod_proxy.so
    # FMS(175) #LoadModule proxy_module modules/mod_proxy.so
    # 2.2.19(111) #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    # FMS(176) #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    # 2.2.19(112) #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    # FMS(177) #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    # 2.2.19(113) #LoadModule proxy_connect_module modules/mod_proxy_connect.so
    # FMS(178) #LoadModule proxy_connect_module modules/mod_proxy_connect.so
    # 2.2.19(114) #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    # FMS(180) #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    # 2.2.19(115) #LoadModule proxy_http_module modules/mod_proxy_http.so
    # FMS(179) #LoadModule proxy_http_module modules/mod_proxy_http.so
    # 2.2.19(116) #LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
    # 2.2.19(117) #LoadModule reqtimeout_module modules/mod_reqtimeout.so
    # 2.2.19(118) #LoadModule rewrite_module modules/mod_rewrite.so
    # FMS(182)
    LoadModule rewrite_module modules/mod_rewrite.so
    # 2.2.19(119) LoadModule setenvif_module modules/mod_setenvif.so
    # FMS(183)
    LoadModule setenvif_module modules/mod_setenvif.so
    # 2.2.19(120) #LoadModule speling_module modules/mod_speling.so
    # FMS(184) #LoadModule speling_module modules/mod_speling.so
    # 2.2.19(121) #LoadModule ssl_module modules/mod_ssl.so
    # FMS(190) #LoadModule ssl_module modules/mod_ssl.so
    # 2.2.19(122) #LoadModule status_module modules/mod_status.so
    # FMS(185)
    LoadModule status_module modules/mod_status.so
    # 2.2.19(123) #LoadModule substitute_module modules/mod_substitute.so
    # 2.2.19(124) #LoadModule unique_id_module modules/mod_unique_id.so
    # FMS(186)
    LoadModule unique_id_module modules/mod_unique_id.so
    # 2.2.19(125) #LoadModule userdir_module modules/mod_userdir.so
    # FMS(187)
    LoadModule userdir_module modules/mod_userdir.so
    # 2.2.19(126) #LoadModule usertrack_module modules/mod_usertrack.so
    # FMS(188) #LoadModule usertrack_module modules/mod_usertrack.so
    # 2.2.19(127) #LoadModule version_module modules/mod_version.so
    # 2.2.19(128) #LoadModule vhost_alias_module modules/mod_vhost_alias.so
    # FMS(189) #LoadModule vhost_alias_module modules/mod_vhost_alias.so
    # FMS(191)
    LoadModule f4fhttp_module modules/mod_f4fhttp.so
    # This section includes items that appear in _BOTH_ in the FMS version of httpd.conf and the 2.2.19 version
    # The numbers in parentheses are line numbers in the indicated httpd.conf file.
    # In some case the lines appear identically in both versions.
    # In some case the changes are not simple alternatives (see mpm_winnt_module for example)
    # 2.2.19(46)
    # Listen 80
    # FMS(12)
    Listen 8134
    # 2.2.19(130..144)
    # <IfModule !mpm_netware_module>
    # <IfModule !mpm_winnt_module>
    # User daemon
    # Group daemon
    # </IfModule>
    # </IfModule>
    # FMS(123..126)
    <IfModule mpm_winnt_module>
    ThreadsPerChild 250
    MaxRequestsPerChild 0
    </IfModule>
    # 2.2.19(179)
    # DocumentRoot "c:/Apache2/htdocs"
    # FMS(39)
    DocumentRoot "../webroot"
    # 2.2.19(189..194)
    # <Directory />
    #     Options FollowSymLinks
    #     AllowOverride None
    #     Order deny,allow
    #     Deny from all
    # </Directory>
    # FMS(43..50)
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
    Satisfy all
    </Directory>
    # 2.2.19(206..234)
    # <Directory "c:/Apache2/htdocs">
    #     Options Indexes FollowSymLinks
    #     AllowOverride None
    #     Order allow,deny
    #     Allow from all
    # </Directory>
    # FMS(51..56)
    <Directory "../webroot">
    Options -Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    # 2.2.19(240.242)
    # <IfModule dir_module>
    #     DirectoryIndex index.html
    # </IfModule>
    # FMS(41)
    DirectoryIndex index.html index.html.var index.php index.php3 index.php4 index.php5 index.py index.pl index.rb
    # 2.2.19(248..252)
    # <FilesMatch "^\.ht">
    #     Order allow,deny
    #     Deny from all
    #     Satisfy All
    # </FilesMatch>
    # FMS(118..121)
    <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    </FilesMatch>
    # 2.2.19(261)
    # ErrorLog "logs/error.log"
    # FMS(34)
    ErrorLog logs/error_log
    # 2.2.19(268)
    # LogLevel warn
    # FMS(35)
    LogLevel info
    # 2.2.19(270..297)
    # <IfModule log_config_module>
    #     LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    #     LogFormat "%h %l %u %t \"%r\" %>s %b" common
    #     <IfModule logio_module>
    #       LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    #     </IfModule>
    #     CustomLog "logs/access.log" common
    # </IfModule>
    # FMS(36..37)
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    CustomLog logs/access_log combined
    # 2.2.19(299..328)
    # <IfModule alias_module>
    #     ScriptAlias /cgi-bin/ "c:/Apache2/cgi-bin/"
    # </IfModule>
    # FMS(77)
    ScriptAlias /cgi-bin/ "cgi-bin/"
    # 2.2.19(342..347)
    # <Directory "c:/Apache2/cgi-bin">
    #     AllowOverride None
    #     Options None
    #     Order allow,deny
    #     Allow from all
    # </Directory>
    # FMS(78..83)
    <Directory "cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    # 2.2.19(358)
    # DefaultType text/plain
    # FMS(196)
    DefaultType text/plain
    # 2.2.19(360..406)
    # <IfModule mime_module>
    #     TypesConfig conf/mime.types
    #     #AddEncoding x-compress .Z
    #     #AddEncoding x-gzip .gz .tgz
    #     AddType application/x-compress .Z
    #     AddType application/x-gzip .gz .tgz
    #     #AddHandler cgi-script .cgi
    #     #AddHandler type-map var
    #     #AddType text/html .shtml
    #     #AddOutputFilter INCLUDES .shtml
    # </IfModule>
    # FMS(194)
    TypesConfig conf/mime.types
    # FMS(200..201)
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    # FMS(204..206)
    AddHandler type-map var
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
    # 2.2.19(413)
    #MIMEMagicFile conf/magic
    # FMS(195)
    MIMEMagicFile conf/magic
    # 2.2.19(474..484)
    # <IfModule ssl_module>
    # SSLRandomSeed startup builtin
    # SSLRandomSeed connect builtin
    # </IfModule>
    # FMS(208.211)
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>

  • Mod_jk load error with Apache on OS X

    Hello -
    I have been running CF9 on OS X with a MacPorts install of Apache 2.2.21 with no issues as a "standalone" server installation. To get ready for CF10 I have ben trying to get CF10 configured with Apache. The specefic error I am getting when launching Apache is:
    Cannot load /Applications/ColdFusion10/config/wsconfig/1/mod_jk.so into server: dlopen( /Applications/ColdFusion10/config/wsconfig/1/mod_jk.so, 10): Symbol not found: _apr_stat$INODE64\n Referenced from: /Applications/ColdFusion10/config/wsconfig/1/mod_jk.so\n Expected in flat namespace\n /Applications/ColdFusion10/config/wsconfig/1/mod_jk.so
    I have done the following:
    1. Recompiled Apache and forced a 64-bit compile
    2. Uninstalled CF9
    3. Uninstalld and reinsalled CF10
    4. apxs is installed in /opt/local/apache2/bin (listed asa requirement in one of the documentation PDFs)
    5. This is a Lion 10.7.3 with Xcode 4.2.1 currently installed
    The error listed above is only a warning. Apache starts and still servers html files. I am a bit stumped and have no experience with Tomcat. Any help in finding a solution to this problem will be appreciated.
    Thank you
    Richard

    Made progress -
    Setting the max_packet_size seemed to start the 1st time CF10 admin process, just like it did with CF9 the 1st time we access the administrator. Then, it just went to a blank white screen.
    mod_jk.log reports:
    [error] ajp_process_callback::jk_ajp_common.c (1825): Unknow ajp protocol code: 0F
    [error] ajp_process_callback::jk_ajp_common.c (2426): (cfusion) connecting to tomcat failed
    Now: here is something interesting:
    Look at the end of the URL when it 1st attempts to access administrator: It is index.cfm?configServer=true or index.cfm?serverConfig=true
    By removing this it allows me to simply click on the "continue" option and low and behold the CF admin comes up.
    I also have an issue with topnav.cfm reporting a 400 (Bad Request)
    Quiting the browser and comming back to CF Admin displays the login page but after enter username and password I land on index.cfm and it goes no further.
    Refreshing the page starts to rope in various admin componets.
    Also, it will not process any simple cfm template reporting an internal server error.
    Hopefully this has to do with this being a beta.

  • Can't get Report Builder to work with Apache Webserver

    I'm running ColdFusion 7.0.1 and have it configured to work
    with Apache. I've got an application named realestate. I created
    the following entry in my host file:
    127.0.0.1 realestate
    In Apache, I've created a virtual server that uses the
    realestate server name. But I can't get the Report Builder to
    connect to it at all. When I run the wizard, I try to install an
    RDS server. I've used 127.0.0.1 for the host name as well as
    realestate and I've set the port to 80. I can't get port 8500 to
    work at all. I set my ColdFusion root location to fall under
    Apache's htdocs. Should I have left it under C:\CFMX7 ? How would I
    change the location?

    Please review the "stickied" threads near the top of this board, about syncing with Windows 7 and Vista.  It's all there. 
    After you've been through and tried everything there is to try, and still have problems, please post back with specific info about exactly what you've tried, what version of Windows 7 you have (32-bit or 64-bit), etc.
    smkranz
    I am a volunteer, and not an HP employee.
    Palm OS ∙ webOS ∙ Android

Maybe you are looking for

  • How to Configure Table Graphics in SAP CRM 7.0

    Dear all, What is the main use of Table Graphics and How can we configure table graphics functionality in SAP CRM 7.0. Kindly suggest in case any best practice documentation or other configuration document is available Your help will be highly apprec

  • Windows Phone 8 Can't Update listbox item in XML file after using hardware back button?

    Hi All i have a list box and i am saving list box selected item in XML file thats working fine but the problem is that when i will close my app and reopen and add more value to list box my previous value is removed form the xml file and listbox also

  • Blurry picture when connecting

    I have the new iMac w/iSight built in, running Tiger on a cable modem. When I have iChat open, my video preview of myself is crystal clear. When I invite my dad to a one-way video chat, as soon as he "accepts" my picture gets blurry, and is blurry on

  • No frame refreshing when buffered window is called/created

    Hi, i'm programming a java-based game. It uses a JFrame that calls an "accelerated window" ( a buffered window with a Graphics2D Object ) to draw a basketball simulation. The problem is that when the accelerated window is running ( loop ) the refresh

  • Error while doing MB1C - 561 MVT

    Friends, while i am doing MB1C with movement type 561I am getting the following error. Fld selectn for mvmt type 561 / acct 950900 differs for Ext. GA amount in LC (023) Message no. M7093 Diagnosis Comparison of the field selection strings from movem