From jetspeed-user-returnbenjaminwalker@example.net Tue Nov 01 12:45:30 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 47172 invoked from network); 1 Nov 2005 12:45:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2005 12:45:28 -0000 Received: (qmail 43295 invoked by uid 500); 1 Nov 2005 12:45:20 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 43280 invoked by uid 500); 1 Nov 2005 12:45:19 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 43269 invoked by uid 500); 1 Nov 2005 12:45:19 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 43266 invoked by uid 99); 1 Nov 2005 12:45:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 04:45:19 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of benjaminwalker@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 04:45:14 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EWvTx-0003H3-5X for benjaminwalker@example.net; Tue, 01 Nov 2005 13:43:17 +0100 Received: from 83.161.120.155 ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <benjaminwalker@example.net>; Tue, 01 Nov 2005 13:43:17 +0100 Received: from aaronmevans by 83.161.120.155 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <benjaminwalker@example.net>; Tue, 01 Nov 2005 13:43:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: benjaminwalker@example.net From: Aaron Evans <benjaminwalker@example.net> Subject: Re: J2 - Tomcat - Oracle - JNDI DS Date: Tue, 1 Nov 2005 12:42:55 +0000 (UTC) Lines: 18 Message-ID: <benjaminwalker@example.net> References: <benjaminwalker@example.net> <benjaminwalker@example.net> <benjaminwalker@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: benjaminwalker@example.net X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7) Sender: news <benjaminwalker@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Vladimir Figurov <vfigurov <at> asia-soft.kz> writes: > >The jetspeed JNDI DB resource is defined in jetspeed's context definition in > >$CATALINA_HOME\conf\Catalina\localhost\jetspeed.xml. > > Hmmm... What version of tomcat are you using? I am on 5.5, and they did away with the ResourceParams elements I believe. My JNDI Data Source in jetspeed.xml looks like this: <Resource name="jdbc/jetspeed" auth="Container" factory="org.apache.commons.dbcp.BasicDataSourceFactory" type="javax.sql.DataSource" username="root" password="XXXXXX" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost/j2" maxActive="100" maxIdle="30" maxWait="10000"/> --------------------------------------------------------------------- To unsubscribe, e-mail: benjaminwalker@example.net For additional commands, e-mail: benjaminwalker@example.net From jetspeed-user-returnbenjaminwalker@example.net Tue Nov 01 12:50:32 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 49882 invoked from network); 1 Nov 2005 12:50:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2005 12:50:30 -0000 Received: (qmail 53315 invoked by uid 500); 1 Nov 2005 12:50:27 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 53279 invoked by uid 500); 1 Nov 2005 12:50:27 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 53268 invoked by uid 500); 1 Nov 2005 12:50:27 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 53265 invoked by uid 99); 1 Nov 2005 12:50:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 04:50:27 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of benjaminwalker@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 04:50:23 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EWvZF-00058K-8f for benjaminwalker@example.net; Tue, 01 Nov 2005 13:48:50 +0100 Received: from 83.161.120.155 ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <benjaminwalker@example.net>; Tue, 01 Nov 2005 13:48:45 +0100 Received: from aaronmevans by 83.161.120.155 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <benjaminwalker@example.net>; Tue, 01 Nov 2005 13:48:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: benjaminwalker@example.net From: Aaron Evans <benjaminwalker@example.net> Subject: Re: [J2] LDAP Authentication Problems Date: Tue, 1 Nov 2005 12:48:06 +0000 (UTC) Lines: 29 Message-ID: <benjaminwalker@example.net> References: <benjaminwalker@example.net> <benjaminwalker@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: benjaminwalker@example.net X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7) Sender: news <benjaminwalker@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Aaron Evans <aaronmevans <at> yahoo.ca> writes: > Now, the spring framework error I get (well the root cause one anyway) is: > > org.springframework.beans.factory.BeanCreationException: Error creating bean > with name 'org.apache.jetspeed.security.spi.UserSecurityHandler' defined in > ServletContext resource [/WEB-INF/assembly/security-spi-ldap-atn.xml]: 1 > constructor arguments specified but no matching constructor found in bean > 'org.apache.jetspeed.security.spi.UserSecurityHandler' (hint: specify index > arguments for simple parameters to avoid type ambiguities) > Ah, the problem is that in the security-spi-ldap-atn.xml file, the org.apache.jetspeed.security.spi.UserSecurityHandler bean's constructor was being passed a org.apache.jetspeed.security.spi.impl.ldap.LdapUserCredentialDao when it should be passed a org.apache.jetspeed.security.spi.impl.ldap.LdapUserPrincipalDao. The fix then is to setup a LdapUserPrincipalDao bean (using the LdapUserPrincipalDaoImpl implementation) and pass it in for the constructor arg. The constructor args for the LdapUserPrincipalDaoImpl are the same as for the LdapUserCredentialDaoImpl. --------------------------------------------------------------------- To unsubscribe, e-mail: benjaminwalker@example.net For additional commands, e-mail: benjaminwalker@example.net From jetspeed-user-returnbenjaminwalker@example.net Tue Nov 01 14:30:42 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 12962 invoked from network); 1 Nov 2005 14:30:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2005 14:30:40 -0000 Received: (qmail 92414 invoked by uid 500); 1 Nov 2005 14:30:35 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 92291 invoked by uid 500); 1 Nov 2005 14:30:34 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 92274 invoked by uid 500); 1 Nov 2005 14:30:33 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 92271 invoked by uid 99); 1 Nov 2005 14:30:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 06:30:33 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of benjaminwalker@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 06:30:28 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EWx6T-0005jK-Di for benjaminwalker@example.net; Tue, 01 Nov 2005 15:27:09 +0100 Received: from 83.161.120.155 ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <benjaminwalker@example.net>; Tue, 01 Nov 2005 15:27:09 +0100 Received: from aaronmevans by 83.161.120.155 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <benjaminwalker@example.net>; Tue, 01 Nov 2005 15:27:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: benjaminwalker@example.net From: Aaron Evans <benjaminwalker@example.net> Subject: J2 - How to add custom jar file to build Date: Tue, 1 Nov 2005 14:25:26 +0000 (UTC) Lines: 2 Message-ID: <benjaminwalker@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: benjaminwalker@example.net X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7) Sender: news <benjaminwalker@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N When building from source, what is the easiest way to have one of my own custom jar files added to WEB-INF/lib of jetspeed when I call allClean allBuild. --------------------------------------------------------------------- To unsubscribe, e-mail: benjaminwalker@example.net For additional commands, e-mail: benjaminwalker@example.net From jetspeed-user-returnbenjaminwalker@example.net Tue Nov 01 17:04:41 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 2424 invoked from network); 1 Nov 2005 17:04:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2005 17:04:40 -0000 Received: (qmail 14937 invoked by uid 500); 1 Nov 2005 17:04:36 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 14899 invoked by uid 500); 1 Nov 2005 17:04:35 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 14887 invoked by uid 99); 1 Nov 2005 17:04:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 09:04:35 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=RCVD_IN_WHOIS_INVALID X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO smtpgw07out.chubb.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 09:04:30 -0800 Received: from h164-44-66-129.chubb.com (HELO [83.161.120.155]) (83.161.120.155) by smtpgw07out.chubb.com with ESMTP; 01 Nov 2005 12:04:12 -0500 X-IronPort-AV: i="3.97,275,1125892800"; d="scan'208"; a="124259915:sNHT17623556" Message-ID: <benjaminwalker@example.net> Date: Tue, 01 Nov 2005 12:00:13 -0500 From: Tod Thomas <benjaminwalker@example.net> User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jetspeed Users List <benjaminwalker@example.net> Subject: j2 - Failed to initialize Jetspeed References: <benjaminwalker@example.net> <benjaminwalker@example.net> <benjaminwalker@example.net> <benjaminwalker@example.net> In-Reply-To: <benjaminwalker@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm following the instructions from the Wiki this time using the "Building Jetspeed 2" link at: http://www.geocities.com/dlestrat/etc/j2/buildChangeDocs.pdf. When I've gotten to Step 5, startup HSQL, and then try to browse to http://localhost:8080/jetspeed I get this error: javax.servlet.ServletException: Failed to initalize jetspeed. org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization exception! Checking the catalina log I see: cat ./catalina.out Nov 1, 2005 11:56:19 AM org.apache.coyote.http11.Http11BaseProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Nov 1, 2005 11:56:20 AM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Nov 1, 2005 11:56:20 AM org.apache.coyote.http11.Http11BaseProtocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 Nov 1, 2005 11:56:20 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: Failed shutdown of Apache Portable Runtime Created MBeanServer with ID: 1b16e52:1074cc2a615:-8000:sparky:1 Nov 1, 2005 11:57:06 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Portable Runtime which allows optimal performance in production environments was not found on the java.library.path: /usr/local/j2eesdk1.4/jdk/jre/lib/i386/client:/usr/local/j2eesdk1.4/jdk/jre/lib/i386:/usr/local/j2eesdk1.4/jdk/jre/../lib/i386 Nov 1, 2005 11:57:06 AM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Nov 1, 2005 11:57:06 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2531 ms Nov 1, 2005 11:57:07 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Nov 1, 2005 11:57:07 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.12 Nov 1, 2005 11:57:07 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Nov 1, 2005 11:57:08 AM org.apache.catalina.startup.HostConfig deployDescriptor WARNING: A docBase /opt/jakarta/tomcat-5.5.12/webapps/jetspeed inside the host appBase has been specified, and will be ignored Nov 1, 2005 11:57:08 AM org.apache.catalina.realm.JAASRealm setUseContextClassLoader INFO: Setting useContextClassLoader = false Nov 1, 2005 11:57:09 AM org.apache.catalina.startup.ContextConfig validateSecurityRoles INFO: WARNING: Security role name admin used in an <auth-constraint> without being defined in a <security-role> log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase). log4j:WARN Please initialize the log4j system properly. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'JetspeedDS' defined in ServletContext resource [/WEB-INF/assembly/boot/datasource.xml]: Initialization of bean failed; nested exception is org.apache.ojb.broker.metadata.MetadataException: Could not get the metadata from the given datasource org.apache.ojb.broker.metadata.MetadataException: Could not get the metadata from the given benjaminwalker@example.net(JdbcMetadataUtils.java:277) at org.apache.jetspeed.components.rdbms.ojb.ConnectionRepositoryEntry.afterPropertiesSet(ConnectionRepositoryEntry.java:283) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1072) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:260) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131) at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:206) at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:137) at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:135) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:680) at org.apache.catalina.startup.Catalina.start(Catalina.java:536) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'benjaminwalker@example.net(BasicDataSource.java:780) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540) at org.apache.ojb.broker.metadata.JdbcMetadataUtils.fillJCDFromDataSource(JdbcMetadataUtils.java:261) ... 38 more Caused by: java.sql.SQLException: No suitable benjaminwalker@example.net(DriverManager.java:243) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:773) ... 40 more FATAL: Jetspeed: init() failed: org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization benjaminwalker@example.net(JetspeedEngine.java:145) at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:135) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:680) at org.apache.catalina.startup.Catalina.start(Catalina.java:536) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'JetspeedDS' defined in ServletContext resource [/WEB-INF/assembly/boot/datasource.xml]: Initialization of bean failed; nested exception is org.apache.ojb.broker.metadata.MetadataException: Could not get the metadata from the given benjaminwalker@example.net(AbstractAutowireCapableBeanFactory.java:356) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:260) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131) at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:206) at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:137) ... 27 more Caused by: org.apache.ojb.broker.metadata.MetadataException: Could not get the metadata from the given benjaminwalker@example.net(JdbcMetadataUtils.java:277) at org.apache.jetspeed.components.rdbms.ojb.ConnectionRepositoryEntry.afterPropertiesSet(ConnectionRepositoryEntry.java:283) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1072) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343) ... 35 more Caused by: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'benjaminwalker@example.net(BasicDataSource.java:780) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540) at org.apache.ojb.broker.metadata.JdbcMetadataUtils.fillJCDFromDataSource(JdbcMetadataUtils.java:261) ... 38 more Caused by: java.sql.SQLException: No suitable benjaminwalker@example.net(DriverManager.java:243) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:773) ... 40 more INFO: Jetspeed Initialization complete, Ready to service requests. I started with an 'svn update' in my J2 repository. My ./build.properties has: # From the wiki pdf instructions... org.apache.jetspeed.portal.name=Jetspeed org.apache.jetspeed.project.home=/home/tthomas/work/svnrepo/jetspeed-2/ org.apache.jetspeed.server.home=/opt/jakarta/tomcat/ org.apache.jetspeed.catalina.version.major=5 org.apache.jetspeed.server.shared=${org.apache.jetspeed.server.home}/shared/lib/ org.apache.jetspeed.deploy.war.dir=${org.apache.jetspeed.server.home}/webapps/ org.apache.jetspeed.services.autodeployment.user=jetspeed org.apache.jetspeed.services.autodeployment.password=jetspeed jetspeed.version=2.0-M4-SNAPSHOT All the build tools are up to date and I'm using the binary install of Tomcat V5.5.12. Can someone help? Thanks - Tod --------------------------------------------------------------------- To unsubscribe, e-mail: benjaminwalker@example.net For additional commands, e-mail: benjaminwalker@example.net From jetspeed-user-returnbenjaminwalker@example.net Tue Nov 01 18:29:08 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 45279 invoked from network); 1 Nov 2005 18:29:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Nov 2005 18:29:07 -0000 Received: (qmail 58108 invoked by uid 500); 1 Nov 2005 18:29:04 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 57838 invoked by uid 500); 1 Nov 2005 18:29:03 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 57824 invoked by uid 99); 1 Nov 2005 18:29:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 10:29:03 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO web54713.mail.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 01 Nov 2005 10:28:58 -0800 Received: (qmail 21743 invoked by uid 60001); 1 Nov 2005 18:28:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=HZMoO/a2h0FUmzO1QwrBZhKJOjwdPPHSs/FHSud8SX2WvJ69v1drBQjSnm3h8hNTQgtIQ3pOLCRMZyRJE2pkyZxaw5aG6MtFVrXHlNeukflewiL8iphqVTnAlCQ5AxP9MsDzH/xeT4MMTWHsrw6JN+uOfSyfA26ZtPogYTNycNQ= ; Message-ID: <benjaminwalker@example.net> Received: from [83.161.120.155] by web54713.mail.yahoo.com via HTTP; Tue, 01 Nov 2005 10:28:40 PST Date: Tue, 1 Nov 2005 10:28:40 -0800 (PST) From: David Le Strat <benjaminwalker@example.net> Subject: Re: j2 - Failed to initialize Jetspeed To: Jetspeed Users List <benjaminwalker@example.net> In-Reply-To: <benjaminwalker@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Tod, This is outdated by now. A lot has happened since, please refer to http://portals.apache.org/jetspeed-2/getting-started.html instead. Regards, David Le Strat --- Tod Thomas <benjaminwalker@example.net> wrote: > I'm following the instructions from the Wiki this > time using the > "Building Jetspeed 2" link at: > > http://www.geocities.com/dlestrat/etc/j2/buildChangeDocs.pdf. > > When I've gotten to Step 5, startup HSQL, and then > try to browse to > http://localhost:8080/jetspeed I get this error: > > javax.servlet.ServletException: Failed to initalize > jetspeed. > org.apache.jetspeed.exception.JetspeedException: > Jetspeed Initialization > exception! > > Checking the catalina log I see: > > cat ./catalina.out > Nov 1, 2005 11:56:19 AM > org.apache.coyote.http11.Http11BaseProtocol pause > INFO: Pausing Coyote HTTP/1.1 on http-8080 > Nov 1, 2005 11:56:20 AM > org.apache.catalina.core.StandardService stop > INFO: Stopping service Catalina > Nov 1, 2005 11:56:20 AM > org.apache.coyote.http11.Http11BaseProtocol destroy > INFO: Stopping Coyote HTTP/1.1 on http-8080 > Nov 1, 2005 11:56:20 AM > org.apache.catalina.core.AprLifecycleListener > lifecycleEvent > INFO: Failed shutdown of Apache Portable Runtime > Created MBeanServer with ID: > 1b16e52:1074cc2a615:-8000:sparky:1 > Nov 1, 2005 11:57:06 AM > org.apache.catalina.core.AprLifecycleListener > lifecycleEvent > INFO: The Apache Portable Runtime which allows > optimal performance in > production environments was not found on the > java.library.path: > /usr/local/j2eesdk1.4/jdk/jre/lib/i386/client:/usr/local/j2eesdk1.4/jdk/jre/lib/i386:/usr/local/j2eesdk1.4/jdk/jre/../lib/i386 > Nov 1, 2005 11:57:06 AM > org.apache.coyote.http11.Http11BaseProtocol init > INFO: Initializing Coyote HTTP/1.1 on http-8080 > Nov 1, 2005 11:57:06 AM > org.apache.catalina.startup.Catalina load > INFO: Initialization processed in 2531 ms > Nov 1, 2005 11:57:07 AM > org.apache.catalina.core.StandardService start > INFO: Starting service Catalina > Nov 1, 2005 11:57:07 AM > org.apache.catalina.core.StandardEngine start > INFO: Starting Servlet Engine: Apache Tomcat/5.5.12 > Nov 1, 2005 11:57:07 AM > org.apache.catalina.core.StandardHost start > INFO: XML validation disabled > Nov 1, 2005 11:57:08 AM > org.apache.catalina.startup.HostConfig > deployDescriptor > WARNING: A docBase > /opt/jakarta/tomcat-5.5.12/webapps/jetspeed inside > the host appBase has been specified, and will be > ignored > Nov 1, 2005 11:57:08 AM > org.apache.catalina.realm.JAASRealm > setUseContextClassLoader > INFO: Setting useContextClassLoader = false > Nov 1, 2005 11:57:09 AM > org.apache.catalina.startup.ContextConfig > validateSecurityRoles > INFO: WARNING: Security role name admin used in an > <auth-constraint> > without being defined in a <security-role> > log4j:WARN No appenders could be found for logger > (org.apache.catalina.session.ManagerBase). > log4j:WARN Please initialize the log4j system > properly. > org.springframework.beans.factory.BeanCreationException: > Error creating > bean with name 'JetspeedDS' defined in > ServletContext resource > [/WEB-INF/assembly/boot/datasource.xml]: > Initialization of bean failed; > nested exception is > org.apache.ojb.broker.metadata.MetadataException: > Could not get the metadata from the given datasource > org.apache.ojb.broker.metadata.MetadataException: > Could not get the > metadata from the given datasource > at > org.apache.ojb.broker.metadata.JdbcMetadataUtils.fillJCDFromDataSource(JdbcMetadataUtils.java:277) > at > org.apache.jetspeed.components.rdbms.ojb.ConnectionRepositoryEntry.afterPropertiesSet(ConnectionRepositoryEntry.java:283) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1072) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:260) > at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:221) > at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) > at > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291) > at > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317) > at > org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131) > at > org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:206) > at > org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:137) > at > org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:135) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091) > at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4141) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) > at > org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603) > at > org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535) > at > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470) > at > org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118) > at > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020) > at > org.apache.catalina.core.StandardHost.start(StandardHost.java:718) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) > at > org.apache.catalina.core.StandardService.start(StandardService.java:450) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:680) > at > org.apache.catalina.startup.Catalina.start(Catalina.java:536) > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > java.lang.reflect.Method.invoke(Method.java:324) > at > org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) > at > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) > Caused by: > org.apache.tomcat.dbcp.dbcp.SQLNestedException: > Cannot create > JDBC driver of class '' for connect URL 'null' > at > org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780) > at > org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540) > at > org.apache.ojb.broker.metadata.JdbcMetadataUtils.fillJCDFromDataSource(JdbcMetadataUtils.java:261) > ... 38 more > Caused by: java.sql.SQLException: No suitable driver > at > java.sql.DriverManager.getDriver(DriverManager.java:243) > at > org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:773) > ... 40 more > FATAL: Jetspeed: init() failed: > org.apache.jetspeed.exception.JetspeedException: > Jetspeed Initialization > exception! > at > org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:145) > at > org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:135) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091) > at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880) > at > === message truncated === ________________________ David Le Strat Blogging @ http://dlsthoughts.blogspot.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: benjaminwalker@example.net For additional commands, e-mail: benjaminwalker@example.net From jetspeed-user-returnbenjaminwalker@example.net Wed Nov 02 07:08:15 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 89710 invoked from network); 2 Nov 2005 07:08:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2005 07:08:14 -0000 Received: (qmail 37634 invoked by uid 500); 2 Nov 2005 07:07:57 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 37614 invoked by uid 500); 2 Nov 2005 07:07:57 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 37601 invoked by uid 99); 2 Nov 2005 07:07:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 23:07:57 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO asia-soft.kz) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 23:07:51 -0800 Received: from [83.161.120.155] (account vladimir.figurov [83.161.120.155] verified) by asia-soft.kz (CommuniGate Pro SMTP 4.2.5) with ESMTP id 861791 for benjaminwalker@example.net; Thu, 03 Nov 2005 10:56:15 +0600 Message-ID: <benjaminwalker@example.net> Date: Wed, 02 Nov 2005 13:06:52 +0600 From: Vladimir Figurov <benjaminwalker@example.net> Organization: ASIA-SOFT User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a) Gecko/20040515 X-Accept-Language: ru, en, da, kk, en-us MIME-Version: 1.0 To: Jetspeed Users List <benjaminwalker@example.net> Subject: Re: J2 - Tomcat - Oracle - JNDI DS References: <benjaminwalker@example.net> <benjaminwalker@example.net> <benjaminwalker@example.net> <benjaminwalker@example.net> In-Reply-To: <benjaminwalker@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I use Tomcat 5.0.30. I can't use Java 1.5 - I have the number project in dev stady on Java 1.4 In your example I look, that you have a correct define JNDI Data Source. I will try find in J2 source, where placed this jetspeed.xml for Tomcat 5 and correcting this. Thanks. Aaron Evans wrote: >Vladimir Figurov <vfigurov <at> asia-soft.kz> writes: > > >>>The jetspeed JNDI DB resource is defined in jetspeed's context definition in >>>$CATALINA_HOME\conf\Catalina\localhost\jetspeed.xml. >>> >>> >>> > >Hmmm... What version of tomcat are you using? I am on 5.5, and they did >away with the ResourceParams elements I believe. My JNDI Data Source in >jetspeed.xml looks like this: > ><Resource name="jdbc/jetspeed" auth="Container" > factory="org.apache.commons.dbcp.BasicDataSourceFactory" > type="javax.sql.DataSource" username="root" password="XXXXXX" > driverClassName="com.mysql.jdbc.Driver" > url="jdbc:mysql://localhost/j2" > maxActive="100" maxIdle="30" maxWait="10000"/> > > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: benjaminwalker@example.net >For additional commands, e-mail: benjaminwalker@example.net > > > > -- Vladimir --------------------------------------------------------------------- To unsubscribe, e-mail: benjaminwalker@example.net For additional commands, e-mail: benjaminwalker@example.net From jetspeed-user-returnbenjaminwalker@example.net Wed Nov 02 11:54:04 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 30282 invoked from network); 2 Nov 2005 11:54:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2005 11:54:04 -0000 Received: (qmail 21452 invoked by uid 500); 2 Nov 2005 11:53:57 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 21431 invoked by uid 500); 2 Nov 2005 11:53:57 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 21420 invoked by uid 99); 2 Nov 2005 11:53:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 03:53:57 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of benjaminwalker@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO xproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 03:53:52 -0800 Received: by xproxy.gmail.com with SMTP id t8so177243wxc for <benjaminwalker@example.net>; Wed, 02 Nov 2005 03:53:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=loFJN6XRuD2VkmfHSfLuCtXbmYIZjgtmbgrq7oq0B41IppCk+cFPEYESW6iTVidyWB0HBYYCR+Hudllmk22w9XDksydjznDMNuUu9Aut3MWTgbonlWVzhs2qzQmyKQnqgeP9O5bOl3gP75lJYmfz83c36QtzW+ogSHAQWUdrx7s= Received: by 83.161.120.155 with SMTP id c16mr3113010wxb; Wed, 02 Nov 2005 03:53:35 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 2 Nov 2005 03:53:35 -0800 (PST) Message-ID: <benjaminwalker@example.net> Date: Wed, 2 Nov 2005 12:53:35 +0100 From: carminux <benjaminwalker@example.net> To: Jetspeed Users List <benjaminwalker@example.net> Subject: J2 getUserName ? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N hi to everybody, I'm newbie in portal development. I want to build a portlet for jetspeed 2 that visualizes the name of the user that has effected the login in the portal. Does a method exist similar to getUserName ( )? thanks to everybody. public class Hello extends GenericPortlet{ public void init(PortletConfig portletConfig) throws UnavailableException, PortletException { super.init(portletConfig);=09 } =09 public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException { String user=3D getUserNane(); //?? System.out.println("user is: "+user); } } --------------------------------------------------------------------- To unsubscribe, e-mail: benjaminwalker@example.net For additional commands, e-mail: benjaminwalker@example.net From jetspeed-user-returnbenjaminwalker@example.net Wed Nov 02 12:21:53 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 41977 invoked from network); 2 Nov 2005 12:21:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2005 12:21:42 -0000 Received: (qmail 48092 invoked by uid 500); 2 Nov 2005 12:21:41 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 47409 invoked by uid 500); 2 Nov 2005 12:21:38 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 47398 invoked by uid 99); 2 Nov 2005 12:21:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 04:21:38 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of benjaminwalker@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO xproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 04:21:33 -0800 Received: by xproxy.gmail.com with SMTP id t8so184219wxc for <benjaminwalker@example.net>; Wed, 02 Nov 2005 04:21:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KCdkicy8zctgPN4AQnCT+Q6QpOTwtqcChPAGZtuwNBxPKqvgmM94zvOWjpWtIa3FqP3rltcIZd9YfcPe2Jp78Sw0n6rn/6KIGIMan9fermkcOoCZLD46EGqoEmy+y3lLbAmgnZbxiGgFiBm3fF0vMmKrV4rJ/vPNIuHDMp8mfuU= Received: by 83.161.120.155 with SMTP id p15mr3140566wxp; Wed, 02 Nov 2005 04:21:17 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 2 Nov 2005 04:21:17 -0800 (PST) Message-ID: <benjaminwalker@example.net> Date: Wed, 2 Nov 2005 13:21:17 +0100 From: Martin Dulisch <benjaminwalker@example.net> To: Jetspeed Users List <benjaminwalker@example.net> Subject: Re: J2 getUserName ? In-Reply-To: <benjaminwalker@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <benjaminwalker@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Have a benjaminwalker@example.net Martin On 11/2/05, carminux <benjaminwalker@example.net> wrote: > hi to everybody, I'm newbie in portal development. > I want to build a portlet for jetspeed 2 that visualizes the name of > the user that has effected the login in the portal. > Does a method exist similar to getUserName ( )? > > thanks to everybody. > > > public class Hello extends GenericPortlet{ > > public void init(PortletConfig portletConfig) throws > UnavailableException, PortletException > { > super.init(portletConfig);=09 > } > =09 > public void doView(RenderRequest request, RenderResponse response) > throws PortletException, IOException > { > String user=3D getUserNane(); //?? > System.out.println("user is: "+user); > } > } > > --------------------------------------------------------------------- > To unsubscribe, e-mail: benjaminwalker@example.net > For additional commands, e-mail: benjaminwalker@example.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: benjaminwalker@example.net For additional commands, e-mail: benjaminwalker@example.net From jetspeed-user-returnbenjaminwalker@example.net Wed Nov 02 13:04:22 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 65197 invoked from network); 2 Nov 2005 13:04:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2005 13:04:22 -0000 Received: (qmail 99582 invoked by uid 500); 2 Nov 2005 13:04:18 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 99544 invoked by uid 500); 2 Nov 2005 13:04:17 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 99533 invoked by uid 500); 2 Nov 2005 13:04:17 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 99530 invoked by uid 99); 2 Nov 2005 13:04:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 05:04:17 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of benjaminwalker@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 05:04:12 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EXIEx-0007r6-Fk for benjaminwalker@example.net; Wed, 02 Nov 2005 14:01:19 +0100 Received: from CPE000f6636b02a-CM014480016982.cpe.net.cable.rogers.com ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <benjaminwalker@example.net>; Wed, 02 Nov 2005 14:01:19 +0100 Received: from aaronmevans by CPE000f6636b02a-CM014480016982.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <benjaminwalker@example.net>; Wed, 02 Nov 2005 14:01:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: benjaminwalker@example.net From: Aaron Evans <benjaminwalker@example.net> Subject: Re: J2 getUserName ? Date: Wed, 2 Nov 2005 12:57:43 +0000 (UTC) Lines: 15 Message-ID: <benjaminwalker@example.net> References: <benjaminwalker@example.net> <benjaminwalker@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: benjaminwalker@example.net X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7) Sender: news <benjaminwalker@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Martin Dulisch <mdulisch <at> gmail.com> writes: > > Have a benjaminwalker@example.net > > Martin Right. You can also leverage getUserPrincipal and isUserInRole. These are also be available in the RenderRequest so you could do this right in your JSP (that is, provided the user Principal object is not null): <%= renderRequest.getUserPrincipal().getName() %> Have a look at the demo portlet webapp that ships with J2 for examples... --------------------------------------------------------------------- To unsubscribe, e-mail: benjaminwalker@example.net For additional commands, e-mail: benjaminwalker@example.net From jetspeed-user-returnbenjaminwalker@example.net Wed Nov 02 13:33:03 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 79762 invoked from network); 2 Nov 2005 13:33:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2005 13:33:01 -0000 Received: (qmail 36687 invoked by uid 500); 2 Nov 2005 13:32:57 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 36654 invoked by uid 500); 2 Nov 2005 13:32:56 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 36642 invoked by uid 99); 2 Nov 2005 13:32:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 05:32:56 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=RCVD_IN_WHOIS_INVALID X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO smtpgw07out.chubb.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 05:32:51 -0800 Received: from h164-44-66-129.chubb.com (HELO [83.161.120.155]) (83.161.120.155) by smtpgw07out.chubb.com with ESMTP; 02 Nov 2005 08:32:34 -0500 X-IronPort-AV: i="3.97,280,1125892800"; d="scan'208"; a="125065392:sNHT458488776" Message-ID: <benjaminwalker@example.net> Date: Wed, 02 Nov 2005 08:28:29 -0500 From: Tod Thomas <benjaminwalker@example.net> User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jetspeed Users List <benjaminwalker@example.net> CC: benjaminwalker@example.net Subject: Re: j2 - Failed to initialize Jetspeed References: <benjaminwalker@example.net> In-Reply-To: <benjaminwalker@example.net> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N David Le Strat wrote: > Tod, > > This is outdated by now. A lot has happened since, > please refer to > http://portals.apache.org/jetspeed-2/getting-started.html > instead. > > Regards, > > David Le Strat Thanks. See my previous post: http://mail-archives.apache.org/mod_mboxbenjaminwalker@example.net%3e I'm still having the same problem, j2:quickStart can't seem to find the war file. Incidentally, neither could I. I'll be happy to post my build.xml or anything else if that would help. ntil that point everything went smoothly. Its been a while since I got everything working because I've been waiting for a golden J2 release so I'm a little rusty. Thanks - Tod --------------------------------------------------------------------- To unsubscribe, e-mail: benjaminwalker@example.net For additional commands, e-mail: benjaminwalker@example.net From jetspeed-user-returnbenjaminwalker@example.net Wed Nov 02 18:16:55 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 65808 invoked from network); 2 Nov 2005 18:16:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2005 18:16:54 -0000 Received: (qmail 56431 invoked by uid 500); 2 Nov 2005 18:16:52 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 56227 invoked by uid 500); 2 Nov 2005 18:16:50 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 56216 invoked by uid 500); 2 Nov 2005 18:16:50 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 56213 invoked by uid 99); 2 Nov 2005 18:16:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 10:16:50 -0800 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,FROM_HAS_ULINE_NUMS,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of benjaminwalker@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO hotmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 10:16:45 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 2 Nov 2005 10:16:28 -0800 Message-ID: <benjaminwalker@example.net> Received: from 83.161.120.155 by by104fd.bay104.hotmail.msn.com with HTTP; Wed, 02 Nov 2005 18:16:28 GMT X-Originating-IP: [83.161.120.155] X-Originating-Email: [benjaminwalker@example.net] X-Sender: benjaminwalker@example.net From: "Shah Amit" <benjaminwalker@example.net> To: benjaminwalker@example.net Subject: accessing servletContext from renderRequest Date: Wed, 02 Nov 2005 13:16:28 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 02 Nov 2005 18:16:28.0575 (UTC) FILETIME=[8B2C22F0:01C5DFD9] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, Is it possible to access ServletContext from renderRequest ? I tried to go thru the specs and api but couldn't find anything. The reason why I need this is because I have my business logic written with spring framework and I want to be able to call my spring beans from renderAction of my portlet. My portlet extends GenericServletPortlet. THanks, Amit --------------------------------------------------------------------- To unsubscribe, e-mail: benjaminwalker@example.net For additional commands, e-mail: benjaminwalker@example.net From jetspeed-user-returnbenjaminwalker@example.net Wed Nov 02 20:30:23 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 52444 invoked from network); 2 Nov 2005 20:30:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2005 20:30:22 -0000 Received: (qmail 18307 invoked by uid 500); 2 Nov 2005 20:30:19 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 18022 invoked by uid 500); 2 Nov 2005 20:30:17 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 18010 invoked by uid 99); 2 Nov 2005 20:30:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 12:30:17 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO mx.scriptall.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 12:30:12 -0800 Received: (qmail 20245 invoked by uid 512); 2 Nov 2005 15:30:03 -0500 Received: from benjaminwalker@example.net by edison by uid 509 with qmail-scanner-1.22-st-qms (clamdscan: 0.75. spamassassin: 2.63. Clear:RC:1(83.161.120.155):. Processed in 0.027943 secs); 02 Nov 2005 20:30:03 -0000 X-Antivirus-MYDOMAIN-Mail-From: benjaminwalker@example.net via edison X-Antivirus-MYDOMAIN: 1.22-st-qms (Clear:RC:1(83.161.120.155):. Processed in 0.027943 secs Process 20241) Received: from h-64-105-95-102.snvacaid.covad.net (HELO [83.161.120.155]) (benjaminwalker@example.net@83.161.120.155) by mx.scriptall.com with SMTP; Wed, 02 Nov 2005 15:30:02 -0500 Message-ID: <benjaminwalker@example.net> Date: Wed, 02 Nov 2005 12:29:51 -0800 From: David Sean Taylor <benjaminwalker@example.net> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jetspeed Users List <benjaminwalker@example.net> Subject: Re: accessing servletContext from renderRequest References: <benjaminwalker@example.net> In-Reply-To: <benjaminwalker@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N See section PLT 10.3.1 of the Portlet API: "The following methods of the PortletContext should provide the same functionality as the methods of the ServletContext of similar name: getAttribute, getAttributeNames, getInitParameter, getInitParameterNames, getMimeType, getRealPath, getResource, getResourcePaths, getResourceAsStream, log, removeAttribute and setAttribute" Another way I've done this is to make beans available via jetspeed services, although less portable Shah Amit wrote: > Hi all, > > Is it possible to access ServletContext from renderRequest ? I tried to > go thru the specs and api but couldn't find anything. > > The reason why I need this is because I have my business logic written > with spring framework and I want to be able to call my spring beans from > renderAction of my portlet. My portlet extends GenericServletPortlet. > > THanks, > Amit > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: benjaminwalker@example.net > For additional commands, e-mail: benjaminwalker@example.net > > > -- David Sean Taylor Bluesunrise Software benjaminwalker@example.net [office] +01 707 773-4646 [mobile] +01 707 529 9194 --------------------------------------------------------------------- To unsubscribe, e-mail: benjaminwalker@example.net For additional commands, e-mail: benjaminwalker@example.net From jetspeed-user-returnbenjaminwalker@example.net Wed Nov 02 20:34:36 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 54714 invoked from network); 2 Nov 2005 20:34:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2005 20:34:35 -0000 Received: (qmail 24833 invoked by uid 500); 2 Nov 2005 20:34:32 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 24805 invoked by uid 500); 2 Nov 2005 20:34:31 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 24794 invoked by uid 99); 2 Nov 2005 20:34:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 12:34:31 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO mail64.messagelabs.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 02 Nov 2005 12:34:26 -0800 X-VirusChecked: Checked X-Env-Sender: benjaminwalker@example.net X-Msg-Ref: server-3.tower-64.messagelabs.com!1130963636!55300767!1 X-StarScan-Version: 83.161.120.155; banners=intervoice.com,-,- X-Originating-IP: [83.161.120.155] Received: (qmail 30056 invoked from network); 2 Nov 2005 20:34:05 -0000 Received: from unknown (HELO SRV-EXVS01-DAL.intervoice.int) (83.161.120.155) by server-3.tower-64.messagelabs.com with SMTP; 2 Nov 2005 20:34:05 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Subject: RE: REQUEST PROBLEM in JSR 168 portlets Date: Wed, 2 Nov 2005 14:33:55 -0600 Message-ID: <benjaminwalker@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: REQUEST PROBLEM in JSR 168 portlets Thread-Index: AcXW1ySloYfaOCnDSdmhzashikt7IwBWIu0gAe8vbjA= From: "Archana Turaga" <benjaminwalker@example.net> To: "Jetspeed Users List" <benjaminwalker@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi=20thanks, For=20the=20whole=20lot=20of=20help=20you=20guys=20have=20given=20me.=20I'= m=20sorry=20I=20did=20not=20reply=20earlier///since=20I=20was=20bogged=20d= own=20by=20deadlines. But=20just=20as=20an=20update=20for=20this=20problem: It=20was=20figured=20out=20that=20by=20modifying=20the=20struts=20webapp=20= a=20little=20bit=20the=20request=20issue=20could=20be=20worked=20around.=20= Since=20I'm=20not=20the=20owner=20of=20that=20webapp=20I=20do=20not=20know= =20the=20nature=20of=20the=20fix=20but=20I=20plan=20to=20find=20out=20and=20= update=20this=20post=20for=20others=20who=20may=20have=20issues. Regards, Archana -----Original=20Message----- From:=20Archana=20Turaga=20[mailto:benjaminwalker@example.net]=20 Sent:=20Sunday,=20October=2023,=202005=207:16=20PM To:=20Jetspeed=20Users=20List Subject:=20RE:=20REQUEST=20PROBLEM=20in=20JSR=20168=20portlets Hi=20jonathan, Another=20request: Is=20it=20possible=20to=20give=20me=20some=20info=20about=20how=20you=20di= d=20this: "Just=20used=20this=20myself=20to=20set=20the=20source=20of=20an=20iFrame=20= in=20one=20portlet=20from=20 the=20struts=20action=20within=20another=20ortlet." By=20the=20way=20thanks=20for=20pointing=20me=20to=20this=20really=20infor= mative=20site.=20You=20should=20post=20this=20link=20on=20the=20Jetspeed=20= website=20somewhere.=20Has=20some=20interesting=20pointers=20which=20can=20= give=20some=20clues=20to=20desperate=20people=20like=20me=20;-) Thanks=20a=20lot,Regards, Archana -----Original=20Message----- From:=20Jonathan=20Hawkins=20[mailto:benjaminwalker@example.net]=20= Sent:=20Saturday,=20October=2022,=202005=202:08=20AM To:=20Jetspeed=20Users=20List Subject:=20Re:=20REQUEST=20PROBLEM=20in=20JSR=20168=20portlets Take=20a=20look=20at=20http://www.doc.ic.ac.uk/~mo197/portlets/portlet_mes= saging/ Just=20used=20this=20myself=20to=20set=20the=20source=20of=20an=20iFrame=20= in=20one=20portlet=20from=20 the=20struts=20action=20within=20another=20ortlet. Hope=20that=20helps Jon Jacek=20Wi=B6licki=20wrote: >=20Wiadomosc=20od=20Archana=20Turaga=20z=202005-10-21=2023:55=20brzmiala:= > >>=20Thanks=20for=20the=20response.=20Well=20the=20difference=20here=20is=20= that=20I=20have=20the=20 >>=20same=20portlet=20showing=20up=20for=20create/update/delete.=20So=20th= e=20distinction=20 >>=20is=20done=20in=20the=20portlet.xml=20(Snippet=20is=20as=20below).=20S= o=20a=20menu=20link=20is=20 >>=20associated=20with=20that=20page=20with=20specific=20parameters.=20The= =20menu=20is=20 >>=20rendered=20within=20the=20Jetspeed=20scope=20but=20the=20link=20is=20= to=20a=20JSR168=20 >>=20portlet=20which=20is=20an=20external=20webapp.=20Unless=20I=20do=20so= mething=20like=20when=20 >>=20the=20link=20is=20clicked=20I=20somehow=20pass=20the=20attribute=20al= ong=20as=20to=20what=20was=20 >>=20clicked...then=20based=20on=20that=20the=20jsp=20can=20show=20up=20in= =20the=20relevant=20 >>=20mode.=20WELL=20THE=20BIG=20QUESTION=20IS=20WHERE=20CAN=20I=20SET=20TH= IS=20ATTRIBUTE?=20What=20 >>=20you=20said=20is=20more=20in=20the=20JSR168=20session=20context=20Righ= t?=20Do=20let=20me=20know=20 >>=20if=20there=20is=20any=20additional=20information=20that=20is=20needed= ?=20And=20thanks=20 >>=20once=20again=20for=20the=20response. > >=20As=20far=20as=20I=20understand,=20the=20only=20problem=20is=20passing=20= some=20attribute=20 >=20between=20different=20web=20aplications=20(within=20the=20same=20conta= iner),=20right?=20 >=20I=20don't=20know=20much=20about=20other=20servlet=20containers,=20but=20= with=20Tomcat=20you=20 >=20could=20set=20the=20"crossContext"=20attribute=20for=20either=20applic= ation=20context=20 >=20to=20"true"=20and=20then=20setup=20the=20parameter=20(identified=20e.g= .=20by=20the=20HTTP=20 >=20session=20id)=20in=20the=20other=20servlet=20context=20(another=20weba= pp),=20like=20this: >=20//your=20application=20context: >=20<HTTPServlet>.getServletContext().getContext(<String:other=20app=20con= text=20 >=20name>).setAttribute(<String>,=20<Object>); >=20//other=20application=20context >=20<HTTPServlet>.getServletContext().getAttribute(<String>); > >=20The=20above=20code=20can=20be=20applied=20from=20within=20a=20servlet,= =20you=20should=20modify=20 >=20it=20to=20execute=20from=20a=20portlet,=20i.e.=20get=20a=20servlet=20c= ontext=20from=20a=20 >=20portlet=20context.=20I=20am=20not=20sure=20if=20a=20PortletContext=20o= bject=20could=20by=20 >=20fully=20functional=20as=20a=20ServletContext=20object,=20however=20if=20= such=20a=20 >=20solution=20fails,=20=20use=20an=20intermediate=20redirection=20servlet= =20for=20setting=20 >=20the=20other=20context=20attributes. > >=20I=20do=20hope=20that=20it's=20what=20you=20meant. > > --------------------------------------------------------------------- To=20unsubscribe,=20e-mail:=benjaminwalker@example.net= For=20additional=20commands,=20e-mail:=benjaminwalker@example.net= .org This=20e-mail=20transmission=20may=20contain=20information=20that=20is=20p= roprietary,=20privileged=20and/or=20confidential=20and=20is=20intended=20e= xclusively=20for=20the=20person(s)=20to=20whom=20it=20is=20addressed.=20An= y=20use,=20copying,=20retention=20or=20disclosure=20by=20any=20person=20ot= her=20than=20the=20intended=20recipient=20or=20the=20intended=20recipient'= s=20designees=20is=20strictly=20prohibited.=20If=20you=20are=20the=20inten= ded=20recipient,=20you=20must=20treat=20the=20information=20in=20confidenc= e=20and=20in=20accordance=20with=20all=20laws=20related=20to=20the=20priva= cy=20and=20confidentiality=20of=20such=20information.=20=20If=20you=20are=20= not=20the=20intended=20recipient=20or=20their=20designee,=20please=20notif= y=20the=20sender=20immediately=20by=20return=20e-mail=20and=20delete=20all= =20copies=20of=20this=20email,=20including=20all=20attachments. --------------------------------------------------------------------- To=20unsubscribe,=20e-mail:=benjaminwalker@example.net= For=20additional=20commands,=20e-mail:=benjaminwalker@example.net= .org This=20e-mail=20transmission=20may=20contain=20information=20that=20is=20p= roprietary,=20privileged=20and/or=20confidential=20and=20is=20intended=20e= xclusively=20for=20the=20person(s)=20to=20whom=20it=20is=20addressed.=20An= y=20use,=20copying,=20retention=20or=20disclosure=20by=20any=20person=20ot= her=20than=20the=20intended=20recipient=20or=20the=20intended=20recipient'= s=20designees=20is=20strictly=20prohibited.=20If=20you=20are=20the=20inten= ded=20recipient,=20you=20must=20treat=20the=20information=20in=20confidenc= e=20and=20in=20accordance=20with=20all=20laws=20related=20to=20the=20priva= cy=20and=20confidentiality=20of=20such=20information.=20=20If=20you=20are=20= not=20the=20intended=20recipient=20or=20their=20designee,=20please=20notif= y=20the=20sender=20immediately=20by=20return=20e-mail=20and=20delete=20all= =20copies=20of=20this=20email,=20including=20all=20attachments. --------------------------------------------------------------------- To unsubscribe, e-mail: benjaminwalker@example.net For additional commands, e-mail: benjaminwalker@example.net From jetspeed-user-returnbenjaminwalker@example.net Wed Nov 02 20:41:40 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 58086 invoked from network); 2 Nov 2005 20:41:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Nov 2005 20:41:40 -0000 Received: (qmail 38327 invoked by uid 500); 2 Nov 2005 20:41:36 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 38299 invoked by uid 500); 2 Nov 2005 20:41:35 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 38288 invoked by uid 99); 2 Nov 2005 20:41:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 12:41:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO mail73.messagelabs.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 02 Nov 2005 12:41:28 -0800 X-VirusChecked: Checked X-Env-Sender: benjaminwalker@example.net X-Msg-Ref: server-4.tower-73.messagelabs.com!1130963766!54444770!25 X-StarScan-Version: 83.161.120.155; banners=intervoice.com,-,- X-Originating-IP: [83.161.120.155] Received: (qmail 18363 invoked from network); 2 Nov 2005 20:40:51 -0000 Received: from unknown (HELO SRV-EXVS01-DAL.intervoice.int) (83.161.120.155) by server-4.tower-73.messagelabs.com with SMTP; 2 Nov 2005 20:40:51 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: Re: Re: HELP!! Jetspeed 1.6-Fusion question Date: Wed, 2 Nov 2005 14:40:18 -0600 Message-ID: <benjaminwalker@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: Re: HELP!! Jetspeed 1.6-Fusion question Thread-Index: AcXU0Scjzne99UuTQxO2HiSTZ+tQSALG6iZA From: "Archana Turaga" <benjaminwalker@example.net> To: "Jetspeed Users List" <benjaminwalker@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks=20once=20again=20for=20all=20the=20help=20on=20this.=20I=20really=20= could=20not=20try=20out any=20of=20the=20suggested=20solutions=20since=20I=20found=20a=20way=20to=20= override=20the behavior=20of=20the=20JetspeedFusionPortlet=20class.=20I=20intend=20to=20u= se=20one=20of=20the suggested=20solutions=20by=20David=20and=20Aaron=20and=20see=20if=20I=20ca= n=20accomplish=20the same=20since=20that=20is=20the=20technically=20correct=20way.=20But=20I'm=20= short=20on=20time=20so no=20time=20currently...:-( This=20is=20more=20of=20a=20hack=20in=20my=20opinion....but=20somebody=20w= ho=20is=20desperately looking=20for=20a=20quick=20soln.=20(in=20this=20case=20it=20was=20me)=20t= his=20may=20work.=20I=20just passed=20in=20the=20parameters=20into=20context=20I=20want=20in=20this=20c= lass=20and=20made=20sure that=20the=20fusion.xreg=20was=20modified=20to=20point=20to=20the=20custom= =20class=20that=20was written.=20I=20repdeployed=20my=20webapp=20and=20made=20sure=20that=20the local-portlets.xreg=20had=20the=20classname=20pointing=20it=20the=20custom= JetspeedFusionPortlet=20class.=20Now=20my=20webapp=20filter=20can=20access= =20parameters that=20were=20passed Regards, Archana -----Original=20Message----- From:=20news=20[mailto:benjaminwalker@example.net]=20On=20Behalf=20Of=20Aaron=20Ev= ans Sent:=20Wednesday,=20October=2019,=202005=2012:14=20PM To:=benjaminwalker@example.net Subject:=20Re:=20Re:=20HELP!!=20Jetspeed=201.6-Fusion=20question Archana=20Turaga=20<Archana.Turaga=20<at>=20intervoice.com>=20writes: >=20 >=20Thanks=20for=20the=20tip=20and=20thanks=20for=20responding=20=20 >=20 >=20Is=20the=20SSO=20functionality=20easy=20to=20setup?=20The=20only=20iss= ue=20I=20have=20is=20that >=20all=20the=20sessions=20within=20the=20container=20will=20be=20invalida= ted.=20Do=20you=20know >=20if=20there=20is=20a=20way=20to=20override=20this=20behavior?=20Since=20= there=20could=20be other >=20webapps=20running,=20this=20behavior=20maybe=20not=20desirable. >=20 Actually,=20I=20may=20have=20spoken=20too=20soon. Generally,=20it=20is=20pretty=20easy=20to=20set=20up=20tomcat=20SSO.=20BUT= ,=20it=20assumes=20that you=20 are=20going=20to=20use=20the=20same=20authentication=20realm=20for=20any=20= apps=20involved.=20=20 Jetspeed=202=20is=20built=20to=20use=20an=20authentication=20realm,=20so=20= I=20know=20this=20will work so=20long=20as=20my=20other=20apps=20use=20it.=20=20However,=20I=20don't=20= know=20if=20this=20is=20the case=20in Jetspeed=201. Then=20it=20would=20be=20a=20matter=20of=20adapting=20your=20other=20app=20= to=20use=20the=20realm for=20 authentication=20as=20well. For=20more=20on=20tomcat=20SSO,=20check=20out: http://tomcat.apache.org/tomcat-5.0-doc/config/host.html#Single%20Sign%2 0On and=20the=20SSO=20Valve=20section=20of: http://tomcat.apache.org/tomcat-5.0-doc/config/valve.html --------------------------------------------------------------------- To=20unsubscribe,=20e-mail:=benjaminwalker@example.net= For=20additional=20commands,=20e-mail:=benjaminwalker@example.net= .org This=20e-mail=20transmission=20may=20contain=20information=20that=20is=20p= roprietary,=20privileged=20and/or=20confidential=20and=20is=20intended=20e= xclusively=20for=20the=20person(s)=20to=20whom=20it=20is=20addressed.=20An= y=20use,=20copying,=20retention=20or=20disclosure=20by=20any=20person=20ot= her=20than=20the=20intended=20recipient=20or=20the=20intended=20recipient'= s=20designees=20is=20strictly=20prohibited.=20If=20you=20are=20the=20inten= ded=20recipient,=20you=20must=20treat=20the=20information=20in=20confidenc= e=20and=20in=20accordance=20with=20all=20laws=20related=20to=20the=20priva= cy=20and=20confidentiality=20of=20such=20information.=20=20If=20you=20are=20= not=20the=20intended=20recipient=20or=20their=20designee,=20please=20notif= y=20the=20sender=20immediately=20by=20return=20e-mail=20and=20delete=20all= =20copies=20of=20this=20email,=20including=20all=20attachments. --------------------------------------------------------------------- To unsubscribe, e-mail: benjaminwalker@example.net For additional commands, e-mail: benjaminwalker@example.net From jetspeed-user-returnbenjaminwalker@example.net Fri Nov 04 11:39:21 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 13931 invoked from network); 4 Nov 2005 11:39:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Nov 2005 11:39:20 -0000 Received: (qmail 94358 invoked by uid 500); 4 Nov 2005 11:39:17 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 94301 invoked by uid 500); 4 Nov 2005 11:39:16 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 94287 invoked by uid 99); 4 Nov 2005 11:39:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 03:39:16 -0800 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=HTML_10_20,HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of benjaminwalker@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO xproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 03:39:10 -0800 Received: by xproxy.gmail.com with SMTP id s6so874616wxc for <benjaminwalker@example.net>; Fri, 04 Nov 2005 03:38:54 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=sqRxdyipFSrEZkac5XONFEwzlB9f668DmEvaVbBajTbLN/BEXImey0ZEyBbwNZ+D8K7NXhfIbGz54ZMProUjjEJrZs2dkob8OcHm5yH8Vtj/S/SCcoqVMEFJyPmOoVFj/D495Qt7zm65ely9ax8LfVE9nTxgICo7bt7fq8Y/mj8= Received: by 83.161.120.155 with SMTP id n1mr1859548wxn; Fri, 04 Nov 2005 03:38:54 -0800 (PST) Received: by 83.161.120.155 with HTTP; Fri, 4 Nov 2005 03:38:54 -0800 (PST) Message-ID: <benjaminwalker@example.net> Date: Fri, 4 Nov 2005 11:38:54 +0000 From: Kashif Riaz <benjaminwalker@example.net> To: benjaminwalker@example.net Subject: Jetspeed Beginner MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2854_23990665.1131104334728" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_2854_23990665.1131104334728 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello All, I am trying to deploy a sample war file, which has portlets written to the JSR-168 specification. I installed Jetspeed 1.6 in Tomcat 5.0.28 with Fusion support. I copied the war file to: ${TOMCAT_HOME}/webapps/jetspeed/WEB-INF/deploy/ a= s specified by http://portals.apache.org/jetspeed-1/fusion.html. However, nothing seems to happen. I cannot see the portlets in the "Portlet browser" section. How do you deploy custom JSR-168 portlets by dropping a .war file? Any help appreciated, Kashif. ------=_Part_2854_23990665.1131104334728-- From jetspeed-user-returnbenjaminwalker@example.net Fri Nov 04 14:37:04 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 4954 invoked from network); 4 Nov 2005 14:37:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Nov 2005 14:37:04 -0000 Received: (qmail 57117 invoked by uid 500); 4 Nov 2005 14:36:59 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 57081 invoked by uid 500); 4 Nov 2005 14:36:58 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 57048 invoked by uid 99); 4 Nov 2005 14:36:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 06:36:58 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO gotthard.wemove.lan) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 06:36:52 -0800 Received: from [83.161.120.155] (unknown [83.161.120.155]) by gotthard.wemove.lan (Postfix) with ESMTP id E2A054B004 for <benjaminwalker@example.net>; Fri, 4 Nov 2005 15:36:22 +0100 (CET) Message-ID: <benjaminwalker@example.net> Date: Fri, 04 Nov 2005 15:36:36 +0100 From: =?ISO-8859-1?Q?Joachim_M=FCller?= <benjaminwalker@example.net> User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jetspeed Users List <benjaminwalker@example.net> Subject: j2 running problem Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all. I am trying to get j2 running on win/tomcat5.5.12/jdk1.4.2_09/maven1.0.2/ant1.6.5, fresh svn update while j2 builds fine i get an error when starting tomcat (see below). There seems to be a reference to a class that does noch exist (org/apache/jetspeed/om/folder/FolderMetaData). my build process is as described: maven initMavenPlugin maven allClean allBuild maven j2:quickStart Is seems that the class FileSystemFolderHandler depends on the non-existing class FolderHandler. Anyone can help me out? Best regards, joachim 2005-11-04 15:26:15,921 [http-8080-Processor24] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ingrid-portal].[jsp] - Servlet.service() for servlet jsp threw exception org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization benjaminwalker@example.net(JetspeedEngine.java:148) at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:135) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:680) at org.apache.catalina.startup.Catalina.start(Catalina.java:536) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'FolderHandler' defined in ServletContext resource [/WEB-INF/assembly/page-manager.xml]: Class that bean class [org.apache.jetspeed.page.document.psml.FileSystemFolderHandler] depends on not found; nested exception is java.lang.NoClassDefFoundError: benjaminwalker@example.net(DefaultXmlBeanDefinitionParser.java:369) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinition(DefaultXmlBeanDefinitionParser.java:274) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:186) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:175) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:133) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:99) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:114) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:82) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:87) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:262) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131) at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:217) at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:140) ... 27 more Caused by: java.lang.NoClassDefFoundError: benjaminwalker@example.net(Native Method) at java.lang.Class.forName(Unknown Source) at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:60) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinition(DefaultXmlBeanDefinitionParser.java:306) ... 39 more --------------------------------------------------------------------- To unsubscribe, e-mail: benjaminwalker@example.net For additional commands, e-mail: benjaminwalker@example.net From jetspeed-user-returnbenjaminwalker@example.net Fri Nov 04 14:46:14 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 10703 invoked from network); 4 Nov 2005 14:46:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Nov 2005 14:46:14 -0000 Received: (qmail 74305 invoked by uid 500); 4 Nov 2005 14:45:50 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 74240 invoked by uid 500); 4 Nov 2005 14:45:50 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 74184 invoked by uid 99); 4 Nov 2005 14:45:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 06:45:50 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=HTML_00_10,HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO gw2.deltalloyd.nl) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 06:45:44 -0800 Received: (from root@localhost) by gw2.deltalloyd.nl (8.9.3c/8.6.12) id PAA94846 for <benjaminwalker@example.net>; Fri, 4 Nov 2005 15:45:27 +0100 (CET) From: benjaminwalker@example.net Received: by gw2.deltalloyd.nl (TUNIX/Firewall SMTP Server) for <benjaminwalker@example.net> id sma093748; Fri, 4 Nov 05 15:43:55 +0100 X-SEF-Processed: 5_0_0_713__2005_11_04_15_45_58 X-SEF-76A380B5-4F5B-4805-AA2-33ACB5C95C: 1 Received: from Unknown [83.161.120.155] by dlxwna06 - SurfControl E-mail Filter (5.0); Fri, 04 Nov 2005 15:45:57 +0100 Received: from dl01nm01.adamhk.dl.nl ([83.161.120.155]) by nl015wmxxs008.AD.INTRA (Lotus Domino Release 6.5.4) with ESMTP id 2005110415435060-810656 ; Fri, 4 Nov 2005 15:43:50 +0100 Subject: JetSpeed1.6: OverwritePropertiesTask cannot be found To: benjaminwalker@example.net X-Mailer: Lotus Notes Release 6.5.1 January 21, 2004 Message-ID: <benjaminwalker@example.net> Date: Fri, 4 Nov 2005 15:43:53 +0100 MIME-Version: 1.0 X-MIMETrack: Serialize by Router on DL01NM01/SERVER/DLVG(Release 6.5.4|March 27, 2005) at 04-11-2005 15:43:54, Itemize by SMTP Server on DL01NG02/SERVER/DLVG(Release 6.5.4|March 27, 2005) at 04-11-2005 15:43:50, Serialize by Router on DL01NG02/SERVER/DLVG(Release 6.5.4|March 27, 2005) at 04-11-2005 15:43:51, Serialize complete at 04-11-2005 15:43:51 Content-type: multipart/alternative; Boundary="0__=4EBBFA3CDFC3003C8f9e8a93df938690918c4EBBFA3CDFC3003C" Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0__=4EBBFA3CDFC3003C8f9e8a93df938690918c4EBBFA3CDFC3003C Content-transfer-encoding: quoted-printable Content-type: text/plain; charset=US-ASCII Hello, I looked up in the archives but could not find any answer for this. When runninng the jetspeed 1.6 maven goal " jetspeed:deploy " I get the= following: BUILD FAILED File...... c:\home\.maven\cache\maven-jetspeed-plugin-1.3\plugin.jelly Element... taskdef Line...... 117 Column.... 105 taskdef class org.apache.jetspeed.util.ant.OverwritePropertiesTask cann= ot be found com.werken.werkz.UnattainableGoalException: Unable to obtain goal [jetspeed:war] -- c:\home\.maven\cache\maven-jetspeed-plugin-1.3 \plugin.jelly:117:105: <taskdef> taskdef class org.apache.jetspeed.util.ant.OverwritePropertiesTask cannot be found The class file can be found in WEB-INF/classes but I do not know how to= add it to the maven path. I am fairly new to maven. (Tried to install JetS= peed 2.0 but i ran into HTTP 304's when trying to download the SNAPSHOTS so = I put my luck on JetSpeed 1.6). Cheers, Marcel = ********************************DISCLAIMER******************************** Deze e-mail en alle daarbij meegezonden bijlagen zijn uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet toegestaan. Delta Lloyd N.V. en haar dochtermaatschappijen sluiten iedere aansprakelijkheid uit die voortvloeit uit elektronische verzending. This e-mail and any attachment sent with it are intended exclusively for the addressee(s), and may not be passed on to, or made available for use by any person other than the addressee(s). Delta Lloyd N.V. and its subsidiaries rule out any and every liability resulting from any electronic transmission. *************************************************************************** --0__=4EBBFA3CDFC3003C8f9e8a93df938690918c4EBBFA3CDFC3003C-- From jetspeed-user-returnbenjaminwalker@example.net Fri Nov 04 15:44:40 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 42727 invoked from network); 4 Nov 2005 15:44:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Nov 2005 15:44:39 -0000 Received: (qmail 81474 invoked by uid 500); 4 Nov 2005 15:44:33 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 81359 invoked by uid 500); 4 Nov 2005 15:44:32 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 81322 invoked by uid 500); 4 Nov 2005 15:44:32 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 81304 invoked by uid 99); 4 Nov 2005 15:44:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 07:44:32 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of benjaminwalker@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ciao.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 07:44:27 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EY3gV-0000XC-T8 for benjaminwalker@example.net; Fri, 04 Nov 2005 16:40:56 +0100 Received: from CPE000f6636b02a-CM014480016982.cpe.net.cable.rogers.com ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <benjaminwalker@example.net>; Fri, 04 Nov 2005 16:40:55 +0100 Received: from aaronmevans by CPE000f6636b02a-CM014480016982.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <benjaminwalker@example.net>; Fri, 04 Nov 2005 16:40:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: benjaminwalker@example.net From: Aaron Evans <benjaminwalker@example.net> Subject: [J2] - Page Manager/Profiler Question Date: Fri, 4 Nov 2005 15:39:46 +0000 (UTC) Lines: 18 Message-ID: <benjaminwalker@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: benjaminwalker@example.net X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7) Sender: news <benjaminwalker@example.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I read the document J2-page-manager-profiling.sxw which was very helpful to understanding a little more about how the Page Manager and Profiling rules are applied. However, I have a question. Suppose I have a user that is a member of 3 roles, user, manager and admin and I am using the role-group profiling rule. How do I know what order the roles will appear in in the Profiling Rule supplied to the PageManager and therefore, which role will take priority? Suppose I want to force it to always consider them in this order: WEB-INF/pages/_role/admin WEB-INF/pages/_role/manager WEB-INF/pages/_role/user Is this possible? --------------------------------------------------------------------- To unsubscribe, e-mail: benjaminwalker@example.net For additional commands, e-mail: benjaminwalker@example.net From jetspeed-user-returnbenjaminwalker@example.net Fri Nov 04 17:34:05 2005 Return-Path: <jetspeed-user-returnbenjaminwalker@example.net> Delivered-To: benjaminwalker@example.net Received: (qmail 98577 invoked from network); 4 Nov 2005 17:34:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Nov 2005 17:34:04 -0000 Received: (qmail 42580 invoked by uid 500); 4 Nov 2005 17:33:59 -0000 Delivered-To: benjaminwalker@example.net Received: (qmail 42547 invoked by uid 500); 4 Nov 2005 17:33:58 -0000 Mailing-List: contact benjaminwalker@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:benjaminwalker@example.net> List-Unsubscribe: <mailto:benjaminwalker@example.net> List-Post: <mailto:benjaminwalker@example.net> List-Id: <jetspeed-user.portals.apache.org> Reply-To: "Jetspeed Users List" <benjaminwalker@example.net> Delivered-To: mailing list benjaminwalker@example.net Received: (qmail 42519 invoked by uid 99); 4 Nov 2005 17:33:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 09:33:58 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO gotthard.wemove.lan) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 09:33:53 -0800 Received: from [83.161.120.155] (unknown [83.161.120.155]) by gotthard.wemove.lan (Postfix) with ESMTP id EE4584B06C for <benjaminwalker@example.net>; Fri, 4 Nov 2005 18:33:23 +0100 (CET) Message-ID: <benjaminwalker@example.net> Date: Fri, 04 Nov 2005 18:33:41 +0100 From: =?ISO-8859-1?Q?Joachim_M=FCller?= <benjaminwalker@example.net> User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jetspeed Users List <benjaminwalker@example.net> Subject: Re: j2 running problem References: <benjaminwalker@example.net> In-Reply-To: <benjaminwalker@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N this was resolved by a complete removal of all j2 related resources
{'source': 'Apache Software Foundation Public Mail Archives'}