Seam SVN: r11310 - branches/community/Seam_2_1/src/main/org/jboss/seam/mock.
by seam-commits@lists.jboss.org
Author: smendenh(a)redhat.com
Date: 2009-07-28 10:56:31 -0400 (Tue, 28 Jul 2009)
New Revision: 11310
Modified:
branches/community/Seam_2_1/src/main/org/jboss/seam/mock/MockHttpServletRequest.java
Log:
Fixes for https://jira.jboss.org/jira/browse/JBSEAM-3769
Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/mock/MockHttpServletRequest.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/mock/MockHttpServletRequest.java 2009-07-28 14:55:54 UTC (rev 11309)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/mock/MockHttpServletRequest.java 2009-07-28 14:56:31 UTC (rev 11310)
@@ -19,6 +19,8 @@
import java.util.Map;
import java.util.Set;
+import javax.faces.context.ExternalContext;
+import javax.portlet.PortletRequest;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletInputStream;
import javax.servlet.http.Cookie;
@@ -42,12 +44,90 @@
private Set<String> principalRoles;
private Cookie[] cookies;
private String method;
+ private HttpServletRequest httpServletRequest;
+ private PortletRequest portletRequest;
+ private String authType;
+ private String pathInfo;
+ private String pathTranslated;
+ private String contextPath;
+ private String queryString;
+ private String requestedSessionId;
+ private String requestURI;
+ private StringBuffer requestURL;
+ private String servletPath;
+ private String characterEncoding;
+ private int contentLength;
+ private String contentType;
+ private ServletInputStream inputStream;
+ private String protocol;
+ private String scheme;
+ private String serverName;
+ private int serverPort;
+ private BufferedReader reader;
+ private String remoteAddr;
+ private String remoteHost;
+ private Locale locale;
private Enumeration locales;
+ private boolean isSecure;
+ private int remotePort;
+ private String localName;
+ private String localAddr;
+ private int localPort;
+
+
public MockHttpServletRequest(HttpSession session)
{
this(session, null, new HashSet<String>());
}
+
+ public MockHttpServletRequest(HttpSession session, ExternalContext externalContext)
+ {
+ this(session, null, new HashSet<String>());
+ Object request = externalContext.getRequest();
+ if(externalContext != null && (request instanceof HttpServletRequest))
+ {
+ httpServletRequest = (HttpServletRequest)request;
+ authType = httpServletRequest.getAuthType();
+ pathInfo = httpServletRequest.getPathInfo();
+ pathTranslated = httpServletRequest.getPathTranslated();
+ contextPath = httpServletRequest.getContextPath();
+ queryString = httpServletRequest.getQueryString();
+ requestedSessionId = httpServletRequest.getRequestedSessionId();
+ requestURI = httpServletRequest.getRequestURI();
+ requestURL = httpServletRequest.getRequestURL();
+ servletPath = httpServletRequest.getServletPath();
+ characterEncoding = httpServletRequest.getCharacterEncoding();
+ contentLength = httpServletRequest.getContentLength();
+ contentType = httpServletRequest.getContentType();
+ protocol = httpServletRequest.getProtocol();
+ scheme = httpServletRequest.getScheme();
+ serverName = httpServletRequest.getServerName();
+ serverPort = httpServletRequest.getServerPort();
+ remoteAddr = httpServletRequest.getRemoteAddr();
+ remoteHost = httpServletRequest.getRemoteHost();
+ locale = httpServletRequest.getLocale();
+ locales = httpServletRequest.getLocales();
+ isSecure = httpServletRequest.isSecure();
+ remotePort = httpServletRequest.getRemotePort();
+ localName = httpServletRequest.getLocalName();
+ localAddr = httpServletRequest.getLocalAddr();
+ localPort = httpServletRequest.getLocalPort();
+
+ } else if(externalContext != null && (request instanceof PortletRequest))
+ {
+ portletRequest = (PortletRequest)request;
+ authType = portletRequest.getAuthType();
+ contextPath = portletRequest.getContextPath();
+ requestedSessionId = portletRequest.getRequestedSessionId();
+ scheme = portletRequest.getScheme();
+ serverName = portletRequest.getServerName();
+ serverPort = portletRequest.getServerPort();
+ locale = portletRequest.getLocale();
+ locales = portletRequest.getLocales();
+ isSecure = portletRequest.isSecure();
+ }
+ }
public MockHttpServletRequest(HttpSession session, String principalName, Set<String> principalRoles)
{
@@ -78,8 +158,7 @@
public String getAuthType()
{
- //TODO
- return null;
+ return authType;
}
public Cookie[] getCookies()
@@ -120,25 +199,22 @@
public String getPathInfo()
{
- //TODO
- return null;
+ return pathInfo;
}
public String getPathTranslated()
{
- //TODO
- return null;
+ return pathTranslated;
}
public String getContextPath()
{
- return "/project";
+ return (contextPath != null ? contextPath : "/project");
}
public String getQueryString()
{
- //TODO
- return null;
+ return queryString;
}
public String getRemoteUser()
@@ -165,23 +241,22 @@
public String getRequestedSessionId()
{
- //TODO
- return null;
+ return requestedSessionId;
}
public String getRequestURI()
{
- return "http://localhost:8080/myproject/page.seam";
+ return (requestURI != null ? requestURI : "http://localhost:8080/myproject/page.seam");
}
public StringBuffer getRequestURL()
{
- return new StringBuffer( getRequestURI() );
+ return (requestURL != null ? requestURL : new StringBuffer(requestURI));
}
public String getServletPath()
{
- return "/page.seam";
+ return (servletPath != null ? servletPath : "/page.seam");
}
public HttpSession getSession(boolean create)
@@ -226,8 +301,7 @@
public String getCharacterEncoding()
{
- //TODO
- return null;
+ return characterEncoding;
}
public void setCharacterEncoding(String enc)
@@ -239,20 +313,17 @@
public int getContentLength()
{
- //TODO
- return 0;
+ return contentLength;
}
public String getContentType()
{
- //TODO
- return null;
+ return contentType;
}
public ServletInputStream getInputStream() throws IOException
{
- //TODO
- return null;
+ return inputStream;
}
public String getParameter(String param)
@@ -278,44 +349,37 @@
public String getProtocol()
{
- //TODO
- return null;
+ return protocol;
}
public String getScheme()
{
- //TODO
- return null;
+ return scheme;
}
public String getServerName()
{
- //TODO
- return null;
+ return serverName;
}
public int getServerPort()
{
- //TODO
- return 0;
+ return serverPort;
}
public BufferedReader getReader() throws IOException
{
- //TODO
- return null;
+ return reader;
}
public String getRemoteAddr()
{
- //TODO
- return null;
+ return remoteAddr;
}
public String getRemoteHost()
{
- //TODO
- return null;
+ return remoteHost;
}
public void setAttribute(String att, Object value)
@@ -337,8 +401,7 @@
public Locale getLocale()
{
- //TODO
- return null;
+ return locale;
}
public Enumeration getLocales()
@@ -348,44 +411,45 @@
public boolean isSecure()
{
- //TODO
- return false;
+ return isSecure;
}
public RequestDispatcher getRequestDispatcher(String path)
{
- //TODO
+ if(httpServletRequest != null)
+ {
+ return httpServletRequest.getRequestDispatcher(path);
+ }
return null;
}
public String getRealPath(String path)
{
- //TODO
+ if(httpServletRequest != null)
+ {
+ return httpServletRequest.getRealPath(path);
+ }
return null;
}
public int getRemotePort()
{
- //TODO
- return 0;
+ return remotePort;
}
public String getLocalName()
{
- //TODO
- return null;
+ return localName;
}
public String getLocalAddr()
{
- //TODO
- return null;
+ return localAddr;
}
public int getLocalPort()
{
- //TODO
- return 0;
+ return localPort;
}
public Map<String, String[]> getHeaders()
15 years, 4 months
Seam SVN: r11309 - branches/community/Seam_2_1/ui/src/main/java/org/jboss/seam/ui/facelet.
by seam-commits@lists.jboss.org
Author: smendenh(a)redhat.com
Date: 2009-07-28 10:55:54 -0400 (Tue, 28 Jul 2009)
New Revision: 11309
Modified:
branches/community/Seam_2_1/ui/src/main/java/org/jboss/seam/ui/facelet/RendererRequest.java
Log:
Fixes for https://jira.jboss.org/jira/browse/JBSEAM-3769
Modified: branches/community/Seam_2_1/ui/src/main/java/org/jboss/seam/ui/facelet/RendererRequest.java
===================================================================
--- branches/community/Seam_2_1/ui/src/main/java/org/jboss/seam/ui/facelet/RendererRequest.java 2009-07-28 10:36:29 UTC (rev 11308)
+++ branches/community/Seam_2_1/ui/src/main/java/org/jboss/seam/ui/facelet/RendererRequest.java 2009-07-28 14:55:54 UTC (rev 11309)
@@ -44,7 +44,7 @@
private void init()
{
- request = new MockHttpServletRequest(HttpSessionManager.instance());
+ request = new MockHttpServletRequest(HttpSessionManager.instance(), FacesContext.getCurrentInstance().getExternalContext());
response = new MockHttpServletResponse();
setContextClassLoader();
15 years, 4 months
Seam SVN: r11308 - in branches/enterprise/JBPAPP_5_0: src/main/org/jboss/seam/bpm and 1 other directories.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2009-07-28 06:36:29 -0400 (Tue, 28 Jul 2009)
New Revision: 11308
Modified:
branches/enterprise/JBPAPP_5_0/examples/todo/resources/jbpm.cfg.xml
branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/bpm/ManagedJbpmContext.java
branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/bpm/ProcessInstance.java
branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/bpm/TaskInstance.java
branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/contexts/Contexts.java
Log:
backport of JBSEAM-1883
Modified: branches/enterprise/JBPAPP_5_0/examples/todo/resources/jbpm.cfg.xml
===================================================================
--- branches/enterprise/JBPAPP_5_0/examples/todo/resources/jbpm.cfg.xml 2009-07-27 19:59:12 UTC (rev 11307)
+++ branches/enterprise/JBPAPP_5_0/examples/todo/resources/jbpm.cfg.xml 2009-07-28 10:36:29 UTC (rev 11308)
@@ -3,8 +3,9 @@
<jbpm-context>
<service name="persistence">
<factory>
- <bean class="org.jbpm.persistence.db.DbPersistenceServiceFactory">
+ <bean class="org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory">
<field name="isTransactionEnabled"><false/></field>
+ <field name="isCurrentSessionEnabled"><true/></field>
</bean>
</factory>
</service>
Modified: branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/bpm/ManagedJbpmContext.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/bpm/ManagedJbpmContext.java 2009-07-27 19:59:12 UTC (rev 11307)
+++ branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/bpm/ManagedJbpmContext.java 2009-07-28 10:36:29 UTC (rev 11308)
@@ -83,6 +83,12 @@
throw new IllegalStateException("JbpmContext may only be used inside a transaction");
}
+ if (jbpmContext == null)
+ {
+ log.debug( "recreating seam managed jBPM context" );
+ jbpmContext = Jbpm.instance().getJbpmConfiguration().createJbpmContext() ;
+ }
+
if ( !synchronizationRegistered && !Lifecycle.isDestroying() && transaction.isActive() )
{
jbpmContext.getSession().isOpen();
@@ -100,7 +106,7 @@
public void beforeCompletion()
{
- log.debug( "flushing seam managed jBPM context" );
+ log.debug( "closing seam managed jBPM context" );
/*org.jbpm.graph.exe.ProcessInstance processInstance = ProcessInstance.instance();
if (processInstance!=null)
{
@@ -113,47 +119,41 @@
//destroyed, flush here:
Contexts.getBusinessProcessContext().flush();
}
- jbpmContext.getSession().flush();
- log.debug( "done flushing seam managed jBPM context" );
+ closeContext();
+ log.debug( "closed seam managed jBPM context" );
}
public void afterCompletion(int status)
{
synchronizationRegistered = false;
- if ( !Contexts.isEventContextActive() )
- {
- //in calls to MDBs and remote calls to SBs, the
- //transaction doesn't commit until after contexts
- //are destroyed, so wait until the transaction
- //completes before closing the session
- //on the other hand, if we still have an active
- //event context, leave it open
- closeContext();
- }
}
@Destroy
public void destroy()
{
- if ( !synchronizationRegistered )
- {
+// if ( !synchronizationRegistered )
+// {
//in requests that come through SeamPhaseListener,
//there can be multiple transactions per request,
//but they are all completed by the time contexts
- //are dstroyed
+ //are destroyed
//so wait until the end of the request to close
//the session
//on the other hand, if we are still waiting for
//the transaction to commit, leave it open
closeContext();
- }
+// }
}
private void closeContext()
{
- log.debug( "destroying seam managed jBPM context" );
- jbpmContext.close();
- log.debug( "done destroying seam managed jBPM context" );
+ if (jbpmContext != null)
+ {
+ log.debug( "destroying seam managed jBPM context" );
+ jbpmContext.close();
+ log.debug( "done destroying seam managed jBPM context" );
+ jbpmContext = null;
+ }
}
public static JbpmContext instance()
Modified: branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/bpm/ProcessInstance.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/bpm/ProcessInstance.java 2009-07-27 19:59:12 UTC (rev 11307)
+++ branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/bpm/ProcessInstance.java 2009-07-28 10:36:29 UTC (rev 11308)
@@ -16,7 +16,6 @@
import org.jboss.seam.annotations.Unwrap;
import org.jboss.seam.annotations.intercept.BypassInterceptors;
import org.jboss.seam.contexts.Contexts;
-import org.jboss.seam.util.Work;
/**
* A Seam component that allows injection of the current
@@ -36,26 +35,16 @@
{
if ( !Contexts.isConversationContextActive() ) return null;
- return new Work<org.jbpm.graph.exe.ProcessInstance>()
+ Long processId = BusinessProcess.instance().getProcessId();
+ if (processId!=null)
{
-
- @Override
- protected org.jbpm.graph.exe.ProcessInstance work() throws Exception
- {
- Long processId = BusinessProcess.instance().getProcessId();
- if (processId!=null)
- {
- //TODO: do we need to cache this??
- return ManagedJbpmContext.instance().getProcessInstanceForUpdate(processId);
- }
- else
- {
- return null;
- }
- }
-
- }.workInTransaction();
-
+ //TODO: do we need to cache this??
+ return ManagedJbpmContext.instance().getProcessInstanceForUpdate(processId);
+ }
+ else
+ {
+ return null;
+ }
}
public static org.jbpm.graph.exe.ProcessInstance instance()
Modified: branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/bpm/TaskInstance.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/bpm/TaskInstance.java 2009-07-27 19:59:12 UTC (rev 11307)
+++ branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/bpm/TaskInstance.java 2009-07-28 10:36:29 UTC (rev 11308)
@@ -36,25 +36,16 @@
{
if ( !Contexts.isConversationContextActive() ) return null;
- return new Work<org.jbpm.taskmgmt.exe.TaskInstance>()
+ Long taskId = BusinessProcess.instance().getTaskId();
+ if (taskId!=null)
{
-
- @Override
- protected org.jbpm.taskmgmt.exe.TaskInstance work() throws Exception
- {
- Long taskId = BusinessProcess.instance().getTaskId();
- if (taskId!=null)
- {
- //TODO: do we need to cache this??
- return ManagedJbpmContext.instance().getTaskInstanceForUpdate(taskId);
- }
- else
- {
- return null;
- }
- }
-
- }.workInTransaction();
+ //TODO: do we need to cache this??
+ return ManagedJbpmContext.instance().getTaskInstanceForUpdate(taskId);
+ }
+ else
+ {
+ return null;
+ }
}
public static org.jbpm.taskmgmt.exe.TaskInstance instance()
Modified: branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/contexts/Contexts.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/contexts/Contexts.java 2009-07-27 19:59:12 UTC (rev 11307)
+++ branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/contexts/Contexts.java 2009-07-28 10:36:29 UTC (rev 11308)
@@ -18,6 +18,7 @@
import org.jboss.seam.log.LogProvider;
import org.jboss.seam.log.Logging;
import org.jboss.seam.transaction.Transaction;
+import org.jboss.seam.util.Work;
import org.jboss.seam.web.Session;
/**
@@ -344,17 +345,32 @@
//TODO: it would be nice if BP context spanned redirects along with the conversation
// this would also require changes to BusinessProcessContext
- boolean destroyBusinessProcessContext = !Init.instance().isJbpmInstalled() ||
- !BusinessProcess.instance().hasActiveProcess();
- if (destroyBusinessProcessContext)
+ try
{
- //TODO: note that this occurs from Lifecycle.endRequest(), after
- // the Seam-managed txn was committed, but Contexts.destroy()
- // calls BusinessProcessContext.getNames(), which hits the
- // database!
- log.debug("destroying business process context");
- destroy( getBusinessProcessContext() );
+ new Work<Object>()
+ {
+ @Override
+ protected Object work() throws Exception
+ {
+ boolean destroyBusinessProcessContext = !Init.instance().isJbpmInstalled() ||
+ !BusinessProcess.instance().hasActiveProcess();
+ if (destroyBusinessProcessContext)
+ {
+ //TODO: note that this occurs from Lifecycle.endRequest(), after
+ // the Seam-managed txn was committed, but Contexts.destroy()
+ // calls BusinessProcessContext.getNames(), which hits the
+ // database!
+ log.debug("destroying business process context");
+ destroy( getBusinessProcessContext() );
+ }
+ return null;
+ }
+ }.workInTransaction();
}
+ catch (final Exception ex)
+ {
+ log.warn("Exception destroying context ", ex);
+ }
}
if ( !Manager.instance().isLongRunningConversation() )
15 years, 4 months
Seam SVN: r11307 - branches/enterprise/JBPAPP_5_0/doc/Seam_Reference_Guide/en-US.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2009-07-27 15:59:12 -0400 (Mon, 27 Jul 2009)
New Revision: 11307
Modified:
branches/enterprise/JBPAPP_5_0/doc/Seam_Reference_Guide/en-US/Gwt.xml
Log:
marked GWT as technology preview in refdoc
Modified: branches/enterprise/JBPAPP_5_0/doc/Seam_Reference_Guide/en-US/Gwt.xml
===================================================================
--- branches/enterprise/JBPAPP_5_0/doc/Seam_Reference_Guide/en-US/Gwt.xml 2009-07-27 15:22:55 UTC (rev 11306)
+++ branches/enterprise/JBPAPP_5_0/doc/Seam_Reference_Guide/en-US/Gwt.xml 2009-07-27 19:59:12 UTC (rev 11307)
@@ -15,6 +15,11 @@
does not attempt to explain how GWT works or how to use it.
</para>
+ <note>
+ <title>Technology preview </title>
+ <para>GWT integration in Seam is marked as technology preview, so standard support is not guaranteed.</para>
+ </note>
+
<section>
<title>Configuration</title>
15 years, 4 months
Seam SVN: r11306 - branches/enterprise/JBPAPP_5_0/build.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2009-07-27 11:22:55 -0400 (Mon, 27 Jul 2009)
New Revision: 11306
Modified:
branches/enterprise/JBPAPP_5_0/build/root.pom.xml
Log:
aligned to EAP dependencies
Modified: branches/enterprise/JBPAPP_5_0/build/root.pom.xml
===================================================================
--- branches/enterprise/JBPAPP_5_0/build/root.pom.xml 2009-07-23 21:41:14 UTC (rev 11305)
+++ branches/enterprise/JBPAPP_5_0/build/root.pom.xml 2009-07-27 15:22:55 UTC (rev 11306)
@@ -287,13 +287,13 @@
<dependency>
<groupId>jgroups</groupId>
<artifactId>jgroups</artifactId>
- <version>2.6.10.GA</version>
+ <version>2.6.11.GA</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
- <version>3.3.1.GA</version>
+ <version>3.3.2.GA</version>
<exclusions>
<exclusion>
<groupId>commons-collections</groupId>
15 years, 4 months
Seam SVN: r11305 - branches/community/Seam_2_2/examples/booking/resources/WEB-INF.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-07-23 17:41:14 -0400 (Thu, 23 Jul 2009)
New Revision: 11305
Modified:
branches/community/Seam_2_2/examples/booking/resources/WEB-INF/
Log:
ignores
Property changes on: branches/community/Seam_2_2/examples/booking/resources/WEB-INF
___________________________________________________________________
Name: svn:ignore
+ .faces-config.xml.jsfdia
15 years, 4 months
Seam SVN: r11304 - tags/JBoss_Seam_2_2_0_GA.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2009-07-23 13:50:14 -0400 (Thu, 23 Jul 2009)
New Revision: 11304
Modified:
tags/JBoss_Seam_2_2_0_GA/readme.txt
Log:
update notes
Modified: tags/JBoss_Seam_2_2_0_GA/readme.txt
===================================================================
--- tags/JBoss_Seam_2_2_0_GA/readme.txt 2009-07-23 17:47:20 UTC (rev 11303)
+++ tags/JBoss_Seam_2_2_0_GA/readme.txt 2009-07-23 17:50:14 UTC (rev 11304)
@@ -1,7 +1,7 @@
JBoss Seam - Contextual Component framework for Java EE 5
=========================================================
-version 2.2.0.GA, June 2009
+version 2.2.0.GA, July 2009
This software is distributed under the terms of the FSF Lesser Gnu
Public License (see lgpl.txt).
@@ -9,7 +9,7 @@
Get Up And Running Quick
------------------------
-1. Install JBoss AS 4.2.3.GA.
+1. Install JBoss AS 5.1.0.GA.
2. Edit the "build.properties" file and change jboss.home to your
JBoss AS installation directory
@@ -31,3 +31,18 @@
* Read the documentation in the "doc/reference/en-US" directory
* Read the online FAQ http://www.seamframework.org
+Notes for this release
+----------------------
+
+Running the examples with embedded JBoss on Tomcat 6 requires the following
+additional JARs be updated/added to the Tomcat lib directory after normal
+embedded JBoss embedded instal
+
+lib/test/hibernate-all.jar
+lib/test/thirdparty-all.jar
+lib/slf4j-api.jar
+lib/sl4j-log4j12.jar
+lib/hsqldb.jar
+
+Running the examples
+
15 years, 4 months
Seam SVN: r11303 - branches/community/Seam_2_2.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2009-07-23 13:47:20 -0400 (Thu, 23 Jul 2009)
New Revision: 11303
Modified:
branches/community/Seam_2_2/readme.txt
Log:
update notes
Modified: branches/community/Seam_2_2/readme.txt
===================================================================
--- branches/community/Seam_2_2/readme.txt 2009-07-22 16:26:16 UTC (rev 11302)
+++ branches/community/Seam_2_2/readme.txt 2009-07-23 17:47:20 UTC (rev 11303)
@@ -1,7 +1,7 @@
JBoss Seam - Contextual Component framework for Java EE 5
=========================================================
-version 2.2.0.GA, June 2009
+version 2.2.0.GA, July 2009
This software is distributed under the terms of the FSF Lesser Gnu
Public License (see lgpl.txt).
@@ -9,7 +9,7 @@
Get Up And Running Quick
------------------------
-1. Install JBoss AS 4.2.3.GA.
+1. Install JBoss AS 5.1.0.GA.
2. Edit the "build.properties" file and change jboss.home to your
JBoss AS installation directory
@@ -31,3 +31,18 @@
* Read the documentation in the "doc/reference/en-US" directory
* Read the online FAQ http://www.seamframework.org
+Notes for this release
+----------------------
+
+Running the examples with embedded JBoss on Tomcat 6 requires the following
+additional JARs be updated/added to the Tomcat lib directory after normal
+embedded JBoss embedded instal
+
+lib/test/hibernate-all.jar
+lib/test/thirdparty-all.jar
+lib/slf4j-api.jar
+lib/sl4j-log4j12.jar
+lib/hsqldb.jar
+
+Running the examples
+
15 years, 4 months
Seam SVN: r11302 - tags/JBoss_Seam_2_2_0_GA/examples.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2009-07-22 12:26:16 -0400 (Wed, 22 Jul 2009)
New Revision: 11302
Modified:
tags/JBoss_Seam_2_2_0_GA/examples/build.xml
Log:
JBSEAM-4307
Modified: tags/JBoss_Seam_2_2_0_GA/examples/build.xml
===================================================================
--- tags/JBoss_Seam_2_2_0_GA/examples/build.xml 2009-07-22 16:25:34 UTC (rev 11301)
+++ tags/JBoss_Seam_2_2_0_GA/examples/build.xml 2009-07-22 16:26:16 UTC (rev 11302)
@@ -272,6 +272,7 @@
<!-- Dependencies for seam-ioc used with Spring -->
<fileset id="spring.jar" dir="${lib.dir}">
<include name="spring.jar" if="spring.lib" />
+ <include name="cglib-nodep.jar" if="spring.lib" />
</fileset>
<!-- Optional UI jars -->
15 years, 4 months
Seam SVN: r11301 - branches/community/Seam_2_2/examples.
by seam-commits@lists.jboss.org
Author: norman.richards(a)jboss.com
Date: 2009-07-22 12:25:34 -0400 (Wed, 22 Jul 2009)
New Revision: 11301
Modified:
branches/community/Seam_2_2/examples/build.xml
Log:
JBSEAM-4307
Modified: branches/community/Seam_2_2/examples/build.xml
===================================================================
--- branches/community/Seam_2_2/examples/build.xml 2009-07-21 19:15:49 UTC (rev 11300)
+++ branches/community/Seam_2_2/examples/build.xml 2009-07-22 16:25:34 UTC (rev 11301)
@@ -272,6 +272,7 @@
<!-- Dependencies for seam-ioc used with Spring -->
<fileset id="spring.jar" dir="${lib.dir}">
<include name="spring.jar" if="spring.lib" />
+ <include name="cglib-nodep.jar" if="spring.lib" />
</fileset>
<!-- Optional UI jars -->
15 years, 4 months