Return-Path: Delivered-To: apmail-portals-jetspeed-user-archive@www.apache.org Received: (qmail 42276 invoked from network); 25 Apr 2008 13:30:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Apr 2008 13:30:16 -0000 Received: (qmail 3657 invoked by uid 500); 25 Apr 2008 13:30:14 -0000 Delivered-To: apmail-portals-jetspeed-user-archive@portals.apache.org Received: (qmail 3633 invoked by uid 500); 25 Apr 2008 13:30:14 -0000 Mailing-List: contact jetspeed-user-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Users List" Delivered-To: mailing list jetspeed-user@portals.apache.org Received: (qmail 3605 invoked by uid 99); 25 Apr 2008 13:30:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2008 06:30:14 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of loveyoupeng@gmail.com designates 209.85.146.181 as permitted sender) Received: from [209.85.146.181] (HELO wa-out-1112.google.com) (209.85.146.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2008 13:29:29 +0000 Received: by wa-out-1112.google.com with SMTP id j5so5183406wah.24 for ; Fri, 25 Apr 2008 06:29:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=sXB45CL0/T2T6LSafWTk7dYyQI7dM1XeUGWlrw9bD3s=; b=ljX4ht1qehkHFUI9XrcdXN+lXLBn/frYkiu3YRbNA1WdDI/MEhZCUPnDG2uPgDVQnTGKIZwdv1vAOQPBPSnh1ydvJ5X6uOpON38D7Z9BQQdrcW+3Nx97NNDCx74ojpuS+6cSe5ehMVTvtJPXpzqs96shQ1W4TIp8XIzDdV53tMg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=E7gUbhQqcv4ncKf9ejmKxDoFOfQIxxTop/vKWm0Yc8M2oUFTS7eqpbxAzsiXUGWtOMy7KEBDpxH2Kjn/hkBSglGq1yb75fZZ0J3OCtICQhu5MtCspJ91qODAEYsxWaFeu581gm3cucbO2LdJJAtHpmkKV1TqsqajLUHyYei1XaY= Received: by 10.114.121.1 with SMTP id t1mr3158830wac.67.1209130182693; Fri, 25 Apr 2008 06:29:42 -0700 (PDT) Received: from ?59.66.114.184? ( [59.66.114.184]) by mx.google.com with ESMTPS id l23sm4445959waf.5.2008.04.25.06.29.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 25 Apr 2008 06:29:41 -0700 (PDT) Message-ID: <4811DCC8.4040602@gmail.com> Date: Fri, 25 Apr 2008 21:29:44 +0800 From: =?UTF-8?B?6buO5LqR6IqD?= User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Jetspeed Users List Subject: Re: Can't find UserPrincipalImpl References: <16895554.post@talk.nabble.com> In-Reply-To: <16895554.post@talk.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have encounter your problem before, I find out that you must using Tomcat 5.5.23,then you could login, there may be some security change from 23 to 26. Hope help sabernethy 写道: > Hi, > > I'm just getting started with Jetspeed. I've been able to create a portal > via the M2 plug-in, but cannot log in. Tomcat is throwing the following: > > Apr 25, 2008 7:17:38 AM org.apache.catalina.realm.JAASRealm > setUseContextClassLo > ader > INFO: Setting useContextClassLoader = false > Apr 25, 2008 7:17:38 AM org.apache.catalina.realm.JAASRealm parseClassNames > SEVERE: Class org.apache.jetspeed.security.impl.UserPrincipalImpl not found! > Cla > ss not added. > Apr 25, 2008 7:17:38 AM org.apache.catalina.realm.JAASRealm parseClassNames > SEVERE: Class org.apache.jetspeed.security.impl.RolePrincipalImpl not found! > Cla > ss not added. > > > I'm using J2 version 2.1.3 and Tomcat 5.5.26 and connection to a mysql DB. > The J2 tables are being created and populated. > > My portal.xml file is as follows: > > > > appName="Jetspeed" > > userClassNames="org.apache.jetspeed.security.impl.UserPrincipalImpl" > > roleClassNames="org.apache.jetspeed.security.impl.RolePrincipalImpl" > useContextClassLoader="false" > debug="0"/> > > > factory="org.apache.commons.dbcp.BasicDataSourceFactory" > type="javax.sql.DataSource" username="j2connect" > password="blahblah" > driverClassName="com.mysql.jdbc.Driver" > url="jdbc:mysql://sunblade-eri/j2" > maxActive="100" maxIdle="30" maxWait="10000"/> > > characterEncoding="UTF-8"/> > > > > > I found a few references to this problem but it seemed like being on the > current release of J2 should have resolved them. > > Thanks, > > Scott > > > > -- 此致 敬礼 黎云芃 --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-user-help@portals.apache.org