JDeveloper 10.1.3.0.3 and Apache MyFaces 1.1.1 Integration, Aces help.

First, I created a page that has both ADF Faces Core components and MyFaces components.
Here are the configs:
JSP Code:
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
<html>
<body>
<f:view>
<t:jscookMenu layout="hbr" theme="ThemeOffice">
<t:navigationMenuItem id="nav_5" itemLabel="Tools"/>
<t:navigationMenuItem id="nav_6" itemLabel="Help"/>
</t:jscookMenu>
<h:form>
<af:commandButton text="ADF button"/>
</h:form>
</f:view>
<body>
<html>
Included libs:
adf-faces-impl.jar
commons-beanutils.jar
commons-codec.jar
commons-collections.jar
commons-digester.jar
commons-el.jar
commons-fileupload.jar
commons-lang.jar
commons-loggin.jar
commons-validator.jar
myfaces-api.jar
myfaces-impl.jar
tomahawk.jar
Included Tag libs:
af.tld
afh.tld
myfaces_core.tld
myfaces_html.tld
myfaces_ext.tld
tomahawk.tld
The Problem
After I added a af:commandButton within the f:view, the html and body tags were automatically converted to afh:html and afh:body tags, this created a FacesException upon runtime so I had to change them back to plain old html and body tags and the page ran again. I am a bit hesitant about this step due to afh:body tags being required for PPR. Also, when I tried adding afh components to the page, they cause compile errors that would not normally if the page is enclosed by afh:html and afh:body tags.
Some questions:
Can afh tags play nicely with MyFaces components? If so, what am I doing wrong?
If afh tags are needed by PPR then why is using afh tags a bad solution?
What are possible workarounds?
Thanks very much in advance.
See posts by Adam Winer about afh tags
Re: ADF FACES: Drag&drop of ADF Faces component set all prefixes to af: or :afh
Re: ADF Faces panelForm
Exception message caused by afh:html and afh:body tags:
500 Internal Server Error
javax.faces.FacesException: javax.faces.component.UIViewRoot     at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)     at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)     at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)     at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)     at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:363)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:332)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:192)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)     at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:693)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:397)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:245)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:231)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$1000(ServerSocketAcceptHandler.java:33)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:820)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)Caused by: javax.servlet.ServletException: javax.faces.component.UIViewRoot     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:760)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:707)     at crdbmyfacesmenu2e_jsp._jspService(_crdbmyfacesmenu_2e_jsp.java:205)     [crdbmyfacesmenu.jsp]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:410)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:473)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:404)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:846)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:397)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:319)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:48)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:226)     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:274)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:230)     at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415)     ... 25 more

I had the same problem, poked around a bit on the Apache web site and came across the installation requirements:
http://myfaces.apache.org/tomahawk/extensionsFilter.html
The key in my case was installing the three extensionsFilter elements in my METAINF/web.xml file:
     <filter>
          <filter-name>MyFacesExtensionsFilter</filter-name>
          <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
          <init-param>
               <param-name>maxFileSize</param-name>
               <param-value>20m</param-value>
          </init-param>
     </filter>
     <!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages -->
     <filter-mapping>
          <filter-name>MyFacesExtensionsFilter</filter-name>
          <!-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry -->
          <servlet-name>Faces Servlet</servlet-name>
     </filter-mapping>
     <!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) -->
     <filter-mapping>
          <filter-name>MyFacesExtensionsFilter</filter-name>
          <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
          <filter-name>MyFacesExtensionsFilter</filter-name>
          <url-pattern>*.faces</url-pattern>
     </filter-mapping>
Once I redeployed, the menu came up just fine. I think the important one is the myFacesExtensionResource url-pattern value.

Similar Messages

  • Jdeveloper 11.1.1.1.0 and build in WLS problem

    Hello,
    I couldn't find thread about my problem so I made a new one.
    First:
    I've installed 10g XE DB, WebLogic Server, SOA Suite and JDeveloper 11g.
    I want to create simple JSF page and run it through build in JDev WLS Server, but i get this error:
    *** Using port 7101 ***
    "C:\Documents and Settings\Holmes\Dane aplikacji\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\bin\startWebLogic.cmd"
    [waiting for the server to complete its initialization...]
    System could not find path.
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=C:\Oracle\MIDDLE~1\jdeveloper\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\wlserver_10.3\server\lib\xqrl.jar
    PATH=C:\Oracle\Oracle_10g_XE\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Executive Software\DiskeeperLite\
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    Starting WLS with line:
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)
    C:\PROGRA~1\Java\JDK16~1.0_1\bin\java -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Oracle\MIDDLE~1\wlserver_10.3\server\lib\weblogic.policy -da -Dplatform.home=C:\Oracle\MIDDLE~1\wlserver_10.3 -Dwls.home=C:\Oracle\MIDDLE~1\wlserver_10.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\wlserver_10.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\DOCUME~1\Holmes\DANEAP~1\JDEVEL~1\SYSTEM~1.07\DEFAUL~1 -Doracle.home=C:\Oracle\MIDDLE~1\jdeveloper -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Oracle\MIDDLE~1\jdeveloper\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.security.jps.config=C:\DOCUME~1\Holmes\DANEAP~1\JDEVEL~1\SYSTEM~1.07\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\jdeveloper\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\jdeveloper\modules\oracle.oamprovider_11.1.1 -Dsso.filter.enable=true -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= weblogic.Server
    java.lang.NoClassDefFoundError: weblogic/Server
    Caused by: java.lang.ClassNotFoundException: weblogic.Server
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Could not find the main class: weblogic.Server. Program will exit.
    Exception in thread "main" Process exited.
    Any clues how to resolve this problem?
    Best regards,
    MK

    Hi,
    This looks like a problem with your PATH / CLASSPATH variables... In the startup log you can see that your own JDK is being used to start up the WLS. Normally, this should be the JDK that was installed with JDeveloper / the integrated WLS:
    "starting weblogic with Java version:
    C:\PROGRA~1\Java\JDK16~1.0_1\bin\java -Xms256m -Xmx512m ..."
    This should be:
    "*C:\Oracle\MIDDLE~1\JDK160*~1\bin\java -Xms..."
    Also, your PATH variable was not correctly set during startup, there are no entries for the WLS middleware.
    Could you check the following scripts, for incorrect references:
    C:\Documents and Settings\Holmes\Dane aplikacji\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\bin\startWebLogic.cmd
    C:\Oracle\MIDDLE~1\wlserver_10.3\common\bin\commEnv.cmd
    A solution might be to close JDev, rename the folder "C:\Documents and Settings\Holmes\Dane aplikacji\JDeveloper\system11.1.1.1.33.54.07" to for example "C:\Documents and Settings\Holmes\Dane aplikacji\JDeveloper\system11.1.1.1.33.54.07.BAK" and restart JDev. This way your JDev settings will be reset. If this does not help, there is a problem with the startWebLogic.cmd script, or your PATH/CLASSPATH variables in Windows.
    Another possibility that comes into mind: you mentioned that you have a weblogic server with SOA suite installed, and JDeveloper. In the installation of JDeveloper, you are asked to use an existing WL Home or create a new one. Did you create a new one or reuse your separate WLS installation? This should be a new WL Home, as this is the integrated WLS used for testing in JDev... Maybe that is what went wrong.
    Hope this helps...

  • Get Error on AM 7.0 do SSO on MS IIS 6.0 and Apache 2.0x

    Hi...
    I install AM 7.0/Sun Web 6.1 on Window (Java ES4). And I try to setup SSO between MS IIS 6.0 and Apache 2.0. I don't know how config in the AM by using amserver (web admin).
    I already complete install Policy Agent for MS IIS and Apache 2.0 and both of web was protected.
    I get the error msg on AM dubug log below :
    IIS :
    2006-06-26 22:56:18.376 Debug 3876:157ae90 AuthService: HTTP Status = 200 (OK)
    2006-06-26 22:56:18.376 Debug 3876:157ae90 AuthService: Http::Response::readAndParse(): No content length in response.
    2006-06-26 22:56:18.376 Error 3876:157ae90 AuthService: AuthService::processLoginStatus() Exception message=[Authentication Failed!!] errorCode='107' templateName=login_failed_template.jsp.
    2006-06-26 22:56:18.376 Error 3876:157ae90 PolicyEngine: am_policy_evaluate: InternalException in AuthService::processLoginStatus() with error message:Exception message=[Authentication Failed!!] errorCode='107' templateName=login_failed_template.jsp and code:3
    2006-06-26 22:56:18.376 Warning 3876:157ae90 PolicyAgent: am_web_is_access_allowed()(http://w2k3.sunth.com:81/index.html, GET) denying access: status = Access Manager authentication service failure
    2006-06-26 22:56:18.376 Debug 3876:157ae90 PolicyAgent: am_web_is_access_allowed(): Successfully logged to remote server for GET action by user unknown user to resource http://w2k3.sunth.com:81/index.html.
    2006-06-26 22:56:18.376 Info 3876:157ae90 PolicyAgent: am_web_is_access_allowed()(http://w2k3.sunth.com:81/index.html, GET) returning status: Access Manager authentication service failure.
    2006-06-26 22:56:18.376 Debug 3876:157ae90 PolicyAgent: HttpExtensionProc(): status after am_web_is_access_allowed = Access Manager authentication service failure (3)
    2006-06-26 22:56:18.376 Error 3876:157ae90 PolicyAgent: HttpExtensionProc(): status: Access Manager authentication service failure (3)
    Thank you very much for your support
    Wut

    Hi ,
    I was installed and configured policy agent successfully.while i am trying to access the application url i am getting following error.
    I am using IIS6.0 and access manager 7.1.
    Error 2824:15b9918 AuthService: AuthService::processLoginStatus() Exception message=[Application user ID is not valid.] errorCode='107' templateName=login_failed_template.jsp.
    2009-03-10 00:03:05.828 Error 2824:15b9918 PolicyEngine: am_policy_evaluate: InternalException in AuthService::processLoginStatus() with error message:Exception message=[Application user ID is not valid.] errorCode='107' templateName=login_failed_template.jsp and code:3
    2009-03-10 00:03:05.828 Warning 2824:15b9918 PolicyAgent: am_web_is_access_allowed()(http://fcs-ylwkuzfoz1q.ramesh.com:99/website.html, GET) denying access: status = Access Manager authentication service failure
    2009-03-10 00:03:05.828 Debug 2824:15b9918 PolicyAgent: am_web_is_access_allowed(): Successfully logged to remote server for GET action by user unknown user to resource http://fcs-ylwkuzfoz1q.ramesh.com:99/website.html.
    2009-03-10 00:03:05.828 Info 2824:15b9918 PolicyAgent: am_web_is_access_allowed()(http://fcs-ylwkuzfoz1q.ramesh.com:99/website.html, GET) returning status: Access Manager authentication service failure.
    2009-03-10 00:03:05.828 Debug 2824:15b9918 PolicyAgent: HttpExtensionProc(): status after am_web_is_access_allowed = Access Manager authentication service failure (3)
    2009-03-10 00:03:05.828 Error 2824:15b9918 PolicyAgent: HttpExtensionProc(): status: Access Manager authentication service failure (3)
    2009-03-10 00:03:05.828 Debug 2824:15b9918 PolicyAgent: OnSendResponse(): HTTP Status code is 500
    can any one please help me to resolve this.
    Thanks
    Ramesh Kumar GV

  • Remote desktop and apache

    remote desktop and apache.
    There are times I feel that someone is looking over my shoulder, and changing my settings and controlling me.
    I would like to at least be able to communicate with them so I can ltarn. I also want to be able to monitor and have some say so as to what they are doing to my computer.
    Thank you

    Thanx for your reply.
    I should have stated that this is my personal computer and if any one should be the administrator I would think it would be me.

  • Configuring httpd-ssl.conf on Leopard and Apache 2.2.6

    Hi everybody,
    I recently migrated to Leopard from Tiger 10.4.10. On my Tiger client I had installed my own web server using mod_ssl with Apache 1.3 server. On Leopard, apache 2.2.6 and OpenSSL 0.9.7 are now installed and configurations files have changed.
    Since two weeks, I'm trying to install mod_ssl without success on my machine. Thereafter, I will show only what's relevant from two configuration files :
    First -> Httpd.conf (which is in /etc/apache2/)
    #My port 80 is blocked by my isp
    Listen 8080
    <IfDefine SSL>
    LoadModule ssl_module libexec/apache2/mod_ssl.so
    </IfDefine SSL>
    LoadModule php5_module /usr/local/php5/libphp5.so
    User www
    Group www
    </IfModule>
    <IfModule mod_ssl.c>
    Listen 8080
    Listen 8083
    </IfModule>
    DocumentRoot "/Library/WebServer/Documents"
    <IfModule dir_module>
    DirectoryIndex index.htm lndex.php index.htm default.html
    </IfModule>
    ErrorLog /private/var/log/apache2/error_log
    # Virtual hosts
    #Include /private/etc/apache2/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    Include /private/etc/apache2/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include /private/etc/apache2/extra/httpd-dav.conf
    # Various default settings
    #Include /private/etc/apache2/extra/httpd-default.conf
    # Secure (SSL/TLS) connections
    #Include /private/etc/apache2/extra/httpd-ssl.conf
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps
    DirectoryIndex index.html index.php
    </IfModule>
    #Include /private/etc/apache2/other/*.conf
    # end of httpd.conf
    Second ->httpd-ssl.conf (which is in /etc/apache2/extra/)( I elided personnal information)
    <IfModule mod_ssl.c>
    listen 8080
    listen 8083
    </IfModule>
    AddType application/x-x509-ca-cert .crt
    AddType application/x-pkcs7-crl .crl
    SSLPassPhraseDialog builtin
    #SSLSessionCache "dbm:/private/var/run/ssl_scache"
    SSLSessionCache "shmcb:/private/var/run/ssl_scache(512000)"
    SSLSessionCacheTimeout 300
    SSLMutex "file:/private/var/run/ssl_mutex"
    <VirtualHost default:8080>
    #Just to keep things sane...
    DocumentRoot "/Library/WebServer/Documents"
    ServerName myadress.com
    ServerAdmin [email protected]
    SSLEngine off
    </VirtualHost>
    <VirtualHost default:8083>
    # General setup for the virtual host
    DocumentRoot "/Library/WebServer/Documents"
    ServerName myadress.com
    ServerAdmin [email protected]
    ErrorLog "/private/var/log/apache2/error_log"
    TransferLog "/private/var/log/apache2/access_log"
    # SSL Engine Switch:
    # Enable/Disable SSL for this virtual host.
    SSLEngine on
    # SSL Cipher Suite:
    SSLCipherSuite ALL:!ADH:!EXPORT56:RC4RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:eNULL
    # Server Certificate:
    SSLCertificateFile "/private/etc/apache2/ssl.key/server.crt"
    #SSLCertificateFile "/private/etc/apache2/server-dsa.crt"
    # Server Private Key:
    SSLCertificateFile "/private/etc/apache2/ssl.key/server.key"
    #SSLCertificateKeyFile "/private/etc/apache2/server-dsa.key"
    # Server Certificate Chain:
    #SSLCertificateChainFile "/private/etc/apache2/server-ca.crt"
    # Certificate Authority (CA):
    #SSLCACertificatePath "/private/etc/apache2/ssl.crt"
    SSLCACertificatePath "/private/etc/apache2/ssl.key/"
    #SSLCACertificateFile "/private/etc/apache2/ssl.crt/ca-bundle.crt"
    # Certificate Revocation Lists (CRL):
    #SSLCARevocationPath "/private/etc/apache2/ssl.crl"
    #SSLCARevocationFile "/private/etc/apache2/ssl.crl/ca-bundle.crl"
    # Client Authentication (Type):
    #SSLVerifyClient require
    #SSLVerifyDepth 10
    # Access Control:
    #<Location />
    #SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \
    # and %{SSLCLIENT_S_DNO} eq "Snake Oil, Ltd." \
    # and %{SSLCLIENT_S_DNOU} 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:
    #SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
    <FilesMatch "\.(cgi|shtml|phtml|php)$">
    SSLOptions +StdEnvVars
    </FilesMatch>
    <Directory "/Library/WebServer/CGI-Executables">
    SSLOptions +StdEnvVars
    </Directory>
    # SSL Protocol Adjustments:
    BrowserMatch ".MSIE." \
    nokeepalive ssl-unclean-shutdown \
    downgrade-1.0 force-response-1.0
    # Per-Server Logging:
    CustomLog "/private/var/log/apache2/sslrequestlog" \
    "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
    </VirtualHost>
    ### end of httpd-ssl.conf
    When I uncomment this line in httpd.conf :
    LoadModule ssl_module libexec/apache2/mod_ssl.so
    and try to send the 'apachectl start' command in terminal nothing happens. Apache seems to hang and
    no "Apache/2.2.6 (Unix) DAV/2 PHP/5.2.5 configured -- resuming normal operations" in my console log. Of course, nothing in my error_log.
    I've read somewhere else that there would be a bug in 9.7 version of modssl and that we should install 9.8 version. Could anybody confirm this ?
    Is there somebody here who succeeded installing ssl on apache 2.2.6 and Leopard 10.5.1 ?
    Thanks for helping me
    Regards

    You need the latest plugin.
    Get it from at least 6.1 SP4.
    Eric
    "Michael Congdon" <[email protected]> wrote in message
    news:[email protected]..
    >
    I am having the exact same problem with Apache 2.0.40 on Solaris 2.7 andWebLogic
    6.1 SP 1.
    Please let me know if you get any help. I don't know of anyone who hassuccessfully
    used Apache 2.0 w/WebLogic.
    "Yanjing Liu" <[email protected]> wrote:
    I tried to use apache plug-in to forward request to a wls6.1sp1 on
    Win2000.
    >>
    So I installed Apache 2.0.40 running on Solaris 8 and simply copymod_wl.so
    from
    WL_HOME\lib\Solaris to APATHE_HOME/libexec. A few lines has been added
    to my httpd.conf,
    which are:
    LoadModule weblogic_module libexec/mod_wl.so
    <IfModule mod_weblogic.c>
    WebLogicHost myweblogicserver.com WebLogicPort 7001
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    </Location>
    When I verify the syntax of the httpd.conf file with the followingcommand:
    >>
    /export/home/apache2/bin/apachectl configtest
    Here are the errors I got:
    Cannot load /export/home/apache2/libexec/mod_wl_20.so into server:ld.so.1
    >>
    /export/home/apache2/bin/httpd:fatal: relocation error:file
    /export/home/apache2/libexec/mod_wl_20.so: symbol apr_pool_create:referenced
    symbol not found.
    Has anyone expereinced a similiar problem?
    Thanks,
    Yanjing

  • Installing Coldfusion 9 and Apache 2.2 on Windows Server 2008 R2 Standard

    I'm having issues getting ColdFusion 9 working with Apache 2.2 on Windows Server 2008 R2 Standard.
    The server is brand new and it's a fresh install of Apache and ColdFusion 9.
    Having installed Apache, I tested the web server and it was working fine, so I proceeded to install ColdFusion 9. I attempted to restart the Apache server through the Apache Service monitor, only to get the error dialog box 'The requested operation has failed'.
    On closer examination of the Windows error log, I saw the following error:
    The Apache service named  reported the following error: >>>
    httpd.exe: Syntax error on line 488 of C:/Program Files (x86)/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/ColdFusion9/runtime/lib/wsconfig/1/mod_jrun22.so into server: The Apache service named is not a valid Win32 application.
    I updated the ColdFusion installation to 9.0.1 in case there was an issue with version 9.0 and Apache. Still no joy.
    After a bit of research, I thought perhaps there was an issue with the mod_jrun22.so file (since when I commented out the reference to that file from the Apache config file, the Apache HTTP server started without any problem). I tried replacing the mod_jrun22.so with the 32 bit version (extracted from the wsconfig.jar file), but that made no difference either.
    I have tried a number of things. I have run wsconfig and uninstalled all web server connectors and then re-created them.
    I have to use Apache and IIS is not an option (I use rewrite rules extensively in an existing live installation and have many sites set up in a vhosts file), so please - no suggestions to use IIS instead.
    The system requirements on http://www.adobe.com/sea/products/coldfusion/systemreqs/ state that Coldfusion 9 will work with Apache 2.2.17 and later on Windows 64 bit, so why am I having issues with a brand-new installation on a 'virgin' server?
    Any help would be much appreciated. I have spent hours trawling the Web for solutions.

    I missed an important detail in my opening post. My Coldfusion 9 version is 64 bit - not 32.
    OK. Simple solution to this. I'll put it here for other peoples' reference.
    To cut a long story short, after phoning Adobe support this morning I was told that you can't run a 64 bit version of ColdFusion with a 32 bit web server. In essence, the web server software and the ColdFusion server software must be the same - either 32 or 64 bit.
    Apache is only officially released as a 32 bit version, but there is a 64 bit unofficial version available from http://www.blackdot.be/?inc=apache/binaries, so I downloaded that and installed it, based on the instructions at http://www.elxis.org/guides/developers-guides/64bit-apache-php-mysql-windows.html.
    Once I'd installed the 64bit version of Apache, the installation of Coldfusion 9 64 bit went smoothly and all appears to be working just fine now (well, I can get to the ColdFusion Administrator page and I have successfully updated the server software to ColdFusion 9.0.1).
    The fact that you can't mix different 'bit' versions of software in this way may be obvious, but it wasn't obvious to me. Having been an early adopter of a 64 bit version of Vista on my own PC, I never experienced these kind of problems before. Software installed itself into the corresponding locations on my PC without any problem and just worked. This is the first time I've run into this problem.
    Unfortunately, there doesn't appear to be any information regarding this very important requirement on the system requirements pages, so I suggested to the support engineer that he may want to make the recommendation that the page is amended to clarify the situation: e.g.
    IMPORTANT: 64 bit versions of ColdFusion require 64 bit versions of web server software to function. You can not mix 32 bit and 64 bit versions of web servers and ColdFusion server.
    Hope this helps someone else out.

  • JDeveloper 11.1.1.5.0 and the Fusion Order Sample Application

    Hi all
    I am trying to explore SOA Suite 11g features, particularly the BPM part. I am unable to find any tutorials relating to this feature (can someone point me to some?) and therefore am trying to simply install the Fusion Order demo to have a look around myself.
    I have installed JDeveloper 11.1.1.5.0 (and the SOA Composite Editor and BPM Studio add-ins) and am trying to get the Fusion Order demo to work with it. I downloaded the zip file from http://www.oracle.com/technetwork/developer-tools/jdev/learnmore/fod1111-407812.html and followed the instructions there but when I try to run the StoreFrontUI project all I get is a blank screen.
    The server log has messages:
    <AzUtil> <getPermClassLoadingErrorMessage> Cannot instantiate permission class "oracle.fodemo.storefront.store.view.AccountPermission", target "AccountPermission", or actions "view" as defined in the system policy context.
    and
    <ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.
    Then theses messages appear
    <ApplicationImpl> <createComponent> JSF1004: Cannot instantiate component of type oracle.dss.adf.graph.Graph
    <NavigationPaneRenderer> <_renderContent> Warning: There are no items to render for this level
    I have also tried running the login.jspx page directly, which loads and presents me with a login screen, but using the FOD/fusion combination I had in the Build.Properties.xml I get the message invalid username/password and again get the message
    <AzUtil> <getPermClassLoadingErrorMessage> Cannot instantiate permission class "oracle.fodemo.storefront.store.view.AccountPermission", target "AccountPermission", or actions "view" as defined in the system policy context.
    Can anyone suggest what I might be happening, what I've done wrong?
    Thanks
    Roy

    Just for verification - which version of FOD did you download? what's the zip name?
    For SOA tutorials doucmentation on getting started see the SOA section here:
    http://download.oracle.com/docs/cd/E21764_01/develop.htm
    You might want to try posting on the SOA Suite forums for more tips on getting started.

  • JDeveloper 10.1.3.5.0 and jdk1.7.0_06

    Hi,
    I'm trying to use JDeveloper 10.1.3.5.0 with jdk1.7.0_06 and i'm getting the error "Unable to launch the Java Virtual Machine" at path... when trying to launch JDeveloper.
    I checked the path and jvm.dll is on the right path : path\jdk1.7.0_06\jre\bin\client\jvm.dll.
    I changed the jdev.conf with SetJavaHome set to path\jdk1.7.0_06.
    What other configuration should I make ?
    How do I know which Java version is supported by this version of JDeveloper ?
    Thank you for your help...
    Cheuyi

    Read the install guide for your version and you'll see that 10.1.3 is not certified with JDK 1.7
    Try using JDeveloper 11.1.1.6 instead.

  • WebLogic and Apache

    Hi,
              We are developing an application using WebLogic ejb and servlet and we
              are planning to use Apache as the HTTP server. Are there any know
              issues about this combination?
              According to the manual, the mod_proxy of Apache can be used to link
              Apache and Weblogic. Has anybody done that?
              Thanks,
              Cecil Pang
              [email protected]
              

    This doesn't sound like a definitive answer. Are you saying we will NOT
              support you if you use Apache?
              Should it work? What are people doing wrong? The answer below isn't
              much help IMHO.
              Prasad Peddada wrote:
              >
              > At this point we don't have plugins for Apache. We have plugins for NES, IIS only.
              >
              > Thanks
              > Prasad
              >
              > HBO wrote:
              >
              > > Barbara, thanks for the reply.
              > >
              > > So, are we saying that we should not use Apache with Weblogic Server? I
              > > browsed through the discussion groups and I found no definitive answer to this
              > > question. How about folks from BEA/Weblogic? What is your recommendation?
              > >
              > > At this point, we can either go with Apache or Netscape HTTP server. But we
              > > would like to use Apache unless there are issues in linking it to Weblogic
              > > Server.
              > >
              > > Any advice will be appreciated.
              > >
              > > Cecil Pang
              > > 10 Dimensions Technologies Inc.
              > > [email protected]
              > >
              > > Barbara Singer wrote:
              > >
              > > > Hello:
              > > >
              > > > We have tried to setup the exact configuration but with no success to date.
              > > > We are using WebLogic Application Server 4.51 and Apache by
              > > > Stronghold/C2Net. However, this has not worked with the standard Apache
              > > > distrubution either.
              > > >
              > > > /bas
              > > > HBO <[email protected]> wrote in message news:[email protected]...
              > > > > Hi,
              > > > >
              > > > > We are developing an application using WebLogic ejb and servlet and we
              > > > > are planning to use Apache as the HTTP server. Are there any know
              > > > > issues about this combination?
              > > > >
              > > > > According to the manual, the mod_proxy of Apache can be used to link
              > > > > Apache and Weblogic. Has anybody done that?
              > > > >
              > > > > Thanks,
              > > > > Cecil Pang
              > > > > [email protected]
              > > > >
              From Tom Gerber (Surnames: Archer, Knaeble, Lahiff, Mooney, Preisen,
              Sexton)
              

  • Problems when using shared instances of struts and apache-commons?

    I found this worrisome statement on this page (http://struts.apache.org/1.3.8/userGuide/configuration.html) regarding sharing jar files across multiple applications:
    <i>When a class is loaded from a shared class loader, static variables used within that class become global as well. This can cause inter-webapp conflicts when the underlying code assumes that the statics are global only within a particular web applicaiton (which would be true if the class was loaded from the webapp class loader). There are many cases where the framework, and the Commons libraries it relies on, use static variables to maintain information that is presumed to be visible only within a single web application. <b>Sharing these JAR files can cause unwanted interactions, and probably cause incorrect behavior</b>.</i>
    For those of you currently using Struts and Apache Commons (and perhaps other open source libraries) have you run into any issues when sharing the jars amongst multiple applications?
    I would like to avoid having multiple applications loading their own copies of these libraries, for obvious reasons.  However, if there are issues with doing so, I may have to relax that position.

    To answer my own questions, while we didn't run into any issues with sharing Struts, it may be a good idea to incorporate the libraries directly into the web app if suspicious behaviour is observed by the application.
    Also, the taglib definitions could not be loaded from the referenced jar files - these had to be placed into the WEB-INF directory, which introduces a synchronization problem - you could conceivably have different versions of the tld's and the base libraries.

  • Upgrade PHP and Apache on 10.6.8

    I'm thinking of upgrading PHP and Apache that were installed as part of 10.6.8 (Snow Leopard) to their current versions.
    How do I do it?
      - nello

    I posted links for creating a Macintosh, Apache, MySQL, PHP (mamp) stack on delicious:
    http://www.delicious.com/nlucchesi/tag_bundle/mamp

  • Tomcat 4.0 and Apache 2.0.35

    Hello,
    I am trying to install mod_jk or mod_webapp.so with Tomcat 4.0 and Apache 2.0.35, running on Windows XP Professional. When I try to start Apache, it fails to see it the new module in the modules/ directory, even though it's most definitely there. Anybody have any thoughts?

    The Tomcat 4 has different settings compared to the previous releases (Tomcat 3.3.x and Tomcat 3.2.x). If the previous releases use mod_jk.dll and/or mod_jk.so, the version 4 uses different modules. I have obtained the following from the server.xml file from Tomcat 4.0.3.
    The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0
    as its servlet container. Please read the README.txt file coming with
    the WebApp Module distribution on how to build it.
    (Or check out the "jakarta-tomcat-connectors/webapp" CVS repository)
    To configure the Apache side, you must ensure that you have the
    "ServerName" and "Port" directives defined in "httpd.conf". Then,
    lines like these to the bottom of your "httpd.conf" file:
    LoadModule webapp_module libexec/mod_webapp.so
    WebAppConnection warpConnection warp localhost:8008
    WebAppDeploy examples warpConnection /examples/
    The next time you restart Apache (after restarting Tomcat, if needed)
    the connection will be established, and all applications you make
    visible via "WebAppDeploy" directives can be accessed through Apache.

  • Configuring tomcat and apache on the same system

    i need to configure tomcat and apache on the same system.
    first i have configured apache and it is working well.
    Next is have configured tomcat and it is working well.
    i need to interlink tomcat and apache. so i downloaded jk connector and i have configured it.
    i gave an entry in the httpd.conf as
    Include /tomcat/conf/auto/mod_jk.conf
    i have copied the file mod_jk.so to /usr/local/apache/libexec/
    went i start apache after the entry is given it gives the error like this
    cannot load /usr/local/apache/libexec/mod_jk.so into server: ld_so.1. /usr/local/apache/bin/httpd: fatal : libgcc_s.so.1 : openfailed : no such file or directory in linux
    please help to configure this.
    i have done every thing as it is in apache.org documentation. please give the complete configuration. some say that tomcat is not compiled according to apache1.3. but i configure jk connector as --with-apxs=/usr/local/apache/bin/apxs
    send me the reply
    thankqs in advance

    Hi,
    I'm working in a linux machine and choose to use also two different users. Of course I'm using two different ORACLE_HOME directories.I think that the best approach.Just a question ,are you keeping the "GROUP" same or different?
    Anand

  • PHP and Apache, Bah Humbug

    Setting up PHP and Apache, I was following this: http://developer.apple.com/mac/articles/internet/phpeasyway.html
    I did the step to turn on "web sharing", and the "your computers website" link opened up the local page no problem. When I copy and pasted the content in "enabling PHP in apache" to terminal, I thought it worked... but now neither of the links work. Both say something like "Firefox can't establish a connection to the server at....". Any ideas?

    Safari says this:
    Safari can’t connect to the server.
    Safari can’t open the page “http://192.168.1.100/” because Safari can’t connect to the server “192.168.1.100”.
    I tried restarting apache with "sudo /usr/sbin/apachectl restart", but no luck, still get same messages in browsers.
    The computer's site (not personal) DID work when I started following the tutorial, but I only got half way through. I believe it stopped working when I copy/pasted the part from the tutorial. Any ideas? Can I completely reboot the process somehow?

  • Ssh, sshd, and Apache Enable OpenSSL pkcs11 Engine by Default on T4, T4+ Platforms (18762585, 18764604)

    Hi,
    so I followed the advice in ssh, sshd, and Apache Enable OpenSSL pkcs11 Engine by Default on T4, T4+ Platforms (18762585, 18764604) - Oracle® Solari… and turned off UseOpenSSLEngine in /etc/ssh/sshd_config (Solaris 11.2 x86, AES-NI capable Intel CPU)…
    Now dtrace shows me this:
    root@sol112:~# ps -ef | grep ssh
      raider 18807 18806   0 03:02:43 ?           0:00 /usr/lib/ssh/sshd
    root@sol112:~# dtrace -n 'pid$target:::entry { @[probemod, probefunc] = count(); }' -p 18807
      libcrypto.so.1.0.0                                  AES_encrypt                                                  481299
      libcrypto.so.1.0.0                                  _sse_AES_encrypt_compact                                     481299
      sshd                                                ssh_ctr_inc                                                  481299
    Honestly, I was expecting AES-NI and not SSE calls… Could someone please tell me what's wrong?
    root@sol112:~# nm /lib/openssl/default/libcrypto.so.1.0.0 | grep -i aesni
    [1302]  |   1406040|        52|OBJT |LOCL |0    |21     |aesni_128_ctr

Maybe you are looking for

  • Garmin GPS - Communicator Plugin

    Garmin requires the plug-in to register (and download software upgrades into) the GPS. Through Garmin's site, I downloaded the plug-in and got an "Install Completed Successfully" msg. In Safari, I click on Help>Installed Plug-ins, and it shows that "

  • Goods Receipted Delivery Times

    Hi, I have been been trying to find a report which will show me Delivery Times which have been MIGO'd in SAP, I want to be able to run the report by multipul sites/Vendors Any Help on this would be great

  • XDM has problems with consolekit

    I recently switched from SLIM to XDM, and now when I shutdown the computer in gnome (launched using ck-launch-session), the computer sometimes restarts instead, even though I pressed 'shutdown'. This didn't occur with GDM or SLIM. /etc/inittab line x

  • DiskImagerPro.exe has stopped working

    Hi, I have a question for your guys. Why I start to use another software, it will pop up a window which says "DiskImagerPro.exe has stopped working". Can anyone help me to fix this fault? Thanks advance.

  • *HELP* My Macbook Retina (2013) shuts down immediately after login.

    When the computer is off, I press the power buttom and the normal white apple logo comes onto the black screen.  It prompts me to login, which I do.  Then under my username and avatar, a grey progress bar appears (the background is not grey, it is a