cancel
Showing results for 
Search instead for 
Did you mean: 

JBoss Web Server & Alfresco

enomaly
Champ in-the-making
Champ in-the-making
Has anyone seen the new JBoss Web Server? It looks ideally suited for use with alfresco.

Here's their description.

JBoss Web Server is a new open source project that will provide enterprises with a single, high-performance deployment platform for Java Server Pages (JSP) and Java Servlet technologies, Microsoft ASP.NET, PHP and CGI. JBoss Web is built on Apache Tomcat and includes Apache Portable Runtime (APR) and Tomcat native technologies to achieve scalability and performance characteristics that match and exceed the Apache HTTP Server. JBoss Web Server features include:

    * Ability to handle more than 10,000 concurrent connections
    * Support for HTTP, HTTPS and AJP (Apache JServ Protocol) protocols
    * OpenSSL for Secure Sockets Layer (SSL) support
    * On-the-fly URL rewriting with a flexible URL manipulation engine that supports an unlimited number of rules and rule conditions
    * Support for both in- and out-of-process execution of CGI and PHP scripts, as well as ASP.NET applications
    * An advanced application load balancer that offers both high availability and application segmentation for remote subsystems being executed out-of-process

See >  http://www.jboss.com/products/jbossweb
4 REPLIES 4

kevinr
Star Contributor
Star Contributor
Since this is based on TomCat it should be no problem to run Alfresco on it. I've download the beta package and it only took me 5 minutes to get Alfresco deployed and running.

The steps (change install paths as appropriate)

1. Copy the "alfresco.war" package to:
\jbossweb-4.0.4beta-windows-i586\server\default\deploy

2. Extract "myfaces-api.jar" and "myfaces-impl.jar" from the WEB-INF/lib folder of the alfresco.war file, and overrwrite the copies of those files in:
\jbossweb-4.0.4beta-windows-i586\server\default\deploy\jbossweb.sar\jsf-libs

3. Modify this block as below in the file:
\jbossweb-4.0.4beta-windows-i586\server\default\conf\log4j.xml

   <!– ======================= –>
   <!– Setup the Root category –>
   <!– ======================= –>

   <root>
      <priority value="INFO" />
      <appender-ref ref="CONSOLE"/>
      <appender-ref ref="FILE"/>
   </root>

4. Copy your appropriate JDBC connector (e.g. "mysql-connector-java-3.1.12-bin.jar") to:
\jbossweb-4.0.4beta-windows-i586\server\default\lib

5. Execute the run script in:
\jbossweb-4.0.4beta-windows-i586\bin

Point your browser to http://localhost:8080/alfresco or simliar and Alfresco is running!

Cheers,

Kevin

enomaly
Champ in-the-making
Champ in-the-making
Very nice work with the JBoss Webserver tutorial.

I wonder how difficult it would be get Alfresco running on Sun's GlassFish App server. See> http://java.sun.com/javaee/glassfish/

gavinc
Champ in-the-making
Champ in-the-making
I have a feeling it may be quite involved, Glassfish is the reference implementation of the Java EE 5 stuff, as you probably know.

One of the parts under that umbrella is JSF 1.2, there are quite a few big changes from JSF 1.1, one of them being a change in the expression language. I'm not sure if it remains backwards compatible so there may be a bit of work to move over to JSF 1.2.

Also we are using MyFaces which has no 1.2 implementation yet so we would have to switch to the RI of JSF 1.2, which in itself will involve some re-working.

enomaly
Champ in-the-making
Champ in-the-making
Doesn't sound worth it. Tomcat is good enought for us.