Welcome to the Apache Portals Project Apache Portals is a

advertisement

Welcome to the Apache Portals Project

Apache Portals is a collaborative software development project dedicated to providing robust, fullfeatured, commercial-quality, and freely available Portal related software on a wide variety of platforms and programming languages. This project is managed in cooperation with various individuals worldwide (both independent and company-affiliated experts), who use the Internet to communicate, plan, and develop Portal software and related documentation.

For more information on getting started with Apache Portals, see the Getting Started guide.

About Portals

Modern software is complex and expensive, which has motivated many companies to invest in enterprise portals as a mechanism by which they can manage information in a cohesive and structured fashion.

Portals offer many advantages over other software applications. First, they provide a single point of entry for employees, partners, and customers. Second, portals can access Web services transparently from any device in virtually any location. Third, portals are highly flexible; they can exist in the form of B2E intra-nets, B2B extra-nets, or B2C inter-nets. Fourth, portals can be combined to form a portal network that can span a companys entire enterprise system, allowing for access both inside and outside the firewall.

Portals have many advantages, which is why they have become the de facto standard for Web application delivery. In fact, analysts have predicted that portals will become the next generation for the desktop environment.

Portals distinguish themselves from other software systems because they provide the ability to integrate disparate systems and leverage the functionality provided by those systems. As such, they are not mutually exclusive, and do not force you into an either-or decision vis-a-vis existing software systems. This point is of paramount importance, particularly when you consider the fact that Web services are destined to fuel the explosion of Web applications. Since portals can access any Web services, the conclusion is inescapable: portals provide a unique opportunity to leverage the functionality of nascent technologies as well as mature, well-established software systems.

Jetspeed-1

Jetspeed-1 is an Open Source implementation of an Enterprise Information Portal, using Java and

XML. Jetspeed-1 is a user-customizable portal system, supporting a rich feature set and mature user base.

Jetspeed-2

Jetspeed-2 is the next-generation enterprise portal at Apache. Jetspeed-2 offers several architectural enhancements and improvements over Jetspeed 1.0. First, Jetspeed-2 is conformant to the Java

Portlet Standard and will provide a standard mechanism for the deployment of portlets. Second,

Jetspeed-2 has matured to a more scalable architecture featuring multi-threaded functionality. Third,

Jetspeed-2 is decoupled from several legacy open source projects. Fourth, Jetspeed-2 is based on a component architecture.

Pluto

Pluto is the Reference Implementation of the Java Portlet Specification. The current version of this

Portlet specification is JSR 168 1.0

Portlets are designed to run in the context of a portal. They are written to the Portlet API. Pluto implements the contract, the Portlet API, between portlets and portals. Pluto is a portlet container.

Portals-bridges

The Bridges subproject includes common code and demos for the use of common web frameworks via portlets. Currently there is support for writing portlets using JSF, Struts, perl CGI scripts, php code and Velocity templates. Jetspeed-2 includes demos for those technologies.

WSRP4J

WSRP4J is an implementation of the Oasis WSRP Specification . The OASIS Web Services for

Remote Portlets (WSRP) standard simplifies integration of remote applications/content into portals so that portal administrators can pick from a rich choice of services and integrate it in their portal without programming effort. As a result, WSRP becomes the means for content and application providers to provide their services to organizations running portals in a very easily consumable form.

Asennus

on helppoa.

Lataa asennuspaketti:

Käynnistä asennusohjelma: jetspeed-2.1-demo-installer.java

jetspeed-2.1-demo-installer.java

Tietokanta jetspeed pitää olla tehtynä (pelkkä kanta riittää!). MySQL komennolla create database jetspeed .

antinstaller.jarC:\Java\jetspeed-2.1-demo-installer.jar install:

[echo] Starting the installation

[echo] Deleting all content from the installation target directory

[echo] Installing Jetspeed-2.1 Enterprise Portal

[unzip] Expanding: C:\Java\jetspeed-2.1-demo-installer.jar into C:\Java\Jetspeed-2.1

[unzip] Expanding: C:\Java\Jetspeed-2.1\database.zip into C:\Java\Jetspeed-2.1

[unzip] Expanding: C:\Java\Jetspeed-2.1\portal.zip into C:\Java\Jetspeed-2.1

[echo] Setting up the database configuration

[copy] Copying 1 file to C:\Java\Jetspeed-2.1\shared\lib

[move] Moving 1 file to C:\Java\Jetspeed-2.1\database

[echo] Setting up the Jetspeed database (if selected) checkDerby: generateStandardDB:

[echo] cleaning up possible exiting Db

[sql] Executing resource: C:\Java\Jetspeed-2.1\database\drop.sql

[sql] 83 of 83 SQL statements executed successfully

[echo] starting Db generation

[sql] Executing resource: C:\Java\Jetspeed-2.1\database\mysql\phase1-schema.sql

[sql] 22 of 22 SQL statements executed successfully

[sql] Executing resource: C:\Java\Jetspeed-2.1\database\mysql\phase2-schema.sql

[sql] 62 of 62 SQL statements executed successfully

[sql] Executing resource: C:\Java\Jetspeed-2.1\database\mysql\phase3ojb-schema.sql

[sql] 16 of 16 SQL statements executed successfully

[sql] Executing resource: C:\Java\Jetspeed-2.1\database\mysql\prefs-schema.sql

[sql] 4 of 4 SQL statements executed successfully

[sql] Executing resource: C:\Java\Jetspeed-2.1\database\mysql\registry-schema.sql

[sql] 36 of 36 SQL statements executed successfully

[sql] Executing resource: C:\Java\Jetspeed-2.1\database\mysql\security-schema.sql

[sql] 26 of 26 SQL statements executed successfully

[echo] DB generation done! generateDerbyDB: seedDB:

[mkdir] Created dir: C:\Java\Jetspeed-2.1\database\assembly

[echo] Seeding the database

[copy] Copying 13 files to C:\Java\Jetspeed-2.1\database\assembly

[copy] Copying 1 file to C:\Java\Jetspeed-2.1\database\assembly

[mkdir] Created dir: C:\Java\Jetspeed-2.1\database\assembly\boot

[copy] Copying 1 file to C:\Java\Jetspeed-2.1\database\assembly\boot

[java] APP ROOT is C:\Java\Jetspeed-2.1\database/../webapps/jetspeed

[java] starter framework created org.apache.jetspeed.components.jndi.SpringJNDIStarter@8813f2

[java] log4j:WARN No appenders could be found for logger (org.apache.jetspeed.components.jndi.TyrexJNDIComponent).

[java] log4j:WARN Please initialize the log4j system properly.

[java] ##### platform = MySQL

[java] starter framework established org.apache.jetspeed.components.jndi.SpringJNDIStarter@8813f2

[java] processing import C:\Java\Jetspeed-2.1\database/j2-seed.xml

[java] org.apache.jetspeed.serializer.objects.JSSeedData created

[java] JSSeedData Class created

[java] importProfiler - processing

[java] processing import C:\Java\Jetspeed-2.1\database/j2-seed.xml done

[java] DONE performing import with C:\Java\Jetspeed-2.1\database/j2-seed.xml copyJetspeedContext:

[copy] Copying 1 file to C:\Java\Jetspeed-2.1\conf\Catalina\localhost runSetupDB:

BUILD SUCCESSFUL

Total time: 1 minute 24 seconds

C:\mysql\bin>mysql -u root -p

Enter password:

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 102 to server version: 5.0.21community-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use jetspeed;

Database changed mysql> show tables;

+--------------------------+

| Tables_in_jetspeed |

+--------------------------+

| capability |

| client |

| client_to_capability |

| client_to_mimetype |

| clubs |

| custom_portlet_mode |

| custom_window_state |

| folder |

| folder_constraint |

| folder_constraints_ref |

| folder_menu |

| folder_menu_metadata |

| folder_metadata |

| folder_order |

| fragment |

| fragment_constraint |

| fragment_constraints_ref |

| fragment_pref |

| fragment_pref_value |

| jetspeed_service |

| language |

| link |

| link_constraint |

| link_constraints_ref |

| link_metadata |

| localized_description |

| localized_display_name |

| media_type |

| mediatype_to_capability |

| mediatype_to_mimetype |

| mimetype |

| ojb_dlist |

| ojb_dlist_entries |

| ojb_dmap |

| ojb_dset |

| ojb_dset_entries |

| ojb_hl_seq |

| ojb_lockentry |

| ojb_nrm |

| pa_metadata_fields |

| page |

| page_constraint |

| page_constraints_ref |

| page_menu |

| page_menu_metadata |

| page_metadata |

| page_sec_constraint_def |

| page_sec_constraints_def |

| page_sec_constraints_ref |

| page_security |

| page_statistics |

| parameter |

| pd_metadata_fields |

| portlet_application |

| portlet_content_type |

| portlet_definition |

| portlet_entity |

| portlet_statistics |

| prefs_node |

| prefs_property_value |

| principal_permission |

| principal_rule_assoc |

| profile_page_assoc |

| profiling_rule |

| rule_criterion |

| security_credential |

| security_group_role |

| security_permission |

| security_principal |

| security_role |

| security_role_reference |

| security_user_group |

| security_user_role |

| sso_cookie |

| sso_cookie_to_remote |

| sso_principal_to_remote |

| sso_site |

| sso_site_to_principals |

| sso_site_to_remote |

| user_attribute |

| user_attribute_ref |

| user_statistics |

| web_application |

+--------------------------+

83 rows in set (0.00 sec) mysql>

set CATALINA_HOME=C:\Java\Jetspeed-2.1

C:\Java\Jetspeed-2.1\bin>startup

Using CATALINA_BASE: c:\Java\Jetspeed-2.1

Using CATALINA_HOME: c:\Java\Jetspeed-2.1

Using CATALINA_TMPDIR: c:\Java\Jetspeed-2.1\temp

Using JRE_HOME: C:\Java\jdk1.5.0_05

C:\Java\Jetspeed-2.1\bin>

6.3.2007 18:22:58 org.apache.catalina.core.AprLifecycleListener lifecycleEvent

INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:

C:\Java\jdk1.5.0_05\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\PC

Connectivity Solution\;C:\Perl\bin\;C:\Program Files\ActiveState Komodo

3.5\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;;C:\Program

Files\Subversion\bin;.;C:\Java\jdk1.5.0_05\bin;C:\Sun\AppServer\bin;c:\PHP;C:\Pr ogram Files\Java\jdk1.5.0_06\bin;C:\Java\apache-ant-1.6.5\b in;C:\Program Files\Apache Software Foundation\Maven 1.0.2\bin;C:\Program

Files\GnuWin32\bin

6.3.2007 18:22:58 org.apache.coyote.http11.Http11BaseProtocol init

INFO: Initializing Coyote HTTP/1.1 on http-8080

6.3.2007 18:22:58 org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 953 ms

6.3.2007 18:22:58 org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

6.3.2007 18:22:58 org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/5.5.20

6.3.2007 18:22:58 org.apache.catalina.core.StandardHost start

INFO: XML validation disabled

6.3.2007 18:22:59 org.apache.catalina.startup.HostConfig deployDescriptor

WARNING: A docBase C:\Java\Jetspeed-2.1\webapps\jetspeed inside the host appBase has been specified, and will be ignored

6.3.2007 18:22:59 org.apache.catalina.realm.JAASRealm setUseContextClassLoader

INFO: Setting useContextClassLoader = false log4j:WARN No appenders could be found for logger

(org.apache.commons.digester.Digester). log4j:WARN Please initialize the log4j system properly.

6.3.2007 18:23:01 org.apache.catalina.startup.ContextConfig validateSecurityRoles

INFO: WARNING: Security role name portal-user used in an <auth-constraint> without being defined in a <security-role>

6.3.2007 18:23:01 org.apache.catalina.startup.ContextConfig validateSecurityRoles

INFO: WARNING: Security role name admin used in an <auth-constraint> without being defined in a <security-role>

##### platform = MySQL

6.3.2007 18:23:30 org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive demo.war log4j:WARN No appenders could be found for logger

(org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly.

6.3.2007 18:23:36 org.apache.catalina.startup.ContextConfig validateSecurityRoles

INFO: WARNING: Security role name tomcat used in an <auth-constraint> without being defined in a <security-role>

JetspeedContainerServlet: starting initialization of Portlet Application at: demo

JetspeedContainerServlet: initialization done for Portlet Application at: demo

6.3.2007 18:23:38 org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive j2-admin.war

JetspeedContainerServlet: starting initialization of Portlet Application at: j2admin

JetspeedContainerServlet: initialization done for Portlet Application at: j2admin

6.3.2007 18:24:01 org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive jpetstore.war

JetspeedContainerServlet: starting initialization of Portlet Application at: jpetstore

JetspeedContainerServlet: initialization done for Portlet Application at: jpetstore

6.3.2007 18:24:08 org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive jsf-demo.war log4j:WARN No appenders could be found for logger

(org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly.

JetspeedContainerServlet: starting initialization of Portlet Application at: jsf-demo

JetspeedContainerServlet: initialization done for Portlet Application at: jsfdemo

6.3.2007 18:24:16 org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive rss.war log4j:WARN No appenders could be found for logger

(org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly.

JetspeedContainerServlet: starting initialization of Portlet Application at: rss

JetspeedContainerServlet: initialization done for Portlet Application at: rss

6.3.2007 18:24:21 org.apache.coyote.http11.Http11BaseProtocol start

INFO: Starting Coyote HTTP/1.1 on http-8080

6.3.2007 18:24:22 org.apache.jk.common.ChannelSocket init

INFO: JK: ajp13 listening on /0.0.0.0:8009

6.3.2007 18:24:22 org.apache.jk.server.JkMain start

INFO: Jk running ID=0 time=0/141 config=null

6.3.2007 18:24:22 org.apache.catalina.storeconfig.StoreLoader load

INFO: Find registry server-registry.xml at classpath resource

6.3.2007 18:24:22 org.apache.catalina.startup.Catalina start

INFO: Server startup in 84187 ms

Download