Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 6100 invoked from network); 11 Sep 2007 00:10:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Sep 2007 00:10:27 -0000 Received: (qmail 13636 invoked by uid 500); 11 Sep 2007 00:10:06 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 13615 invoked by uid 500); 11 Sep 2007 00:10:06 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 13604 invoked by uid 99); 11 Sep 2007 00:10:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 17:10:06 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2007 00:10:01 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IUtK1-000457-57 for users@tomcat.apache.org; Mon, 10 Sep 2007 17:09:41 -0700 Message-ID: <12605575.post@talk.nabble.com> Date: Mon, 10 Sep 2007 17:09:41 -0700 (PDT) From: hairdawgg To: users@tomcat.apache.org Subject: problem with accessClassInPackage exceptions with Java 5 web application MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: hsandhu1978@yahoo.com X-Virus-Checked: Checked by ClamAV on apache.org Hi All, I have been upgrading our web application using (Tomcat 5.x) and our EJB Container (weblogic 10) to java 5. While deploying the new java 5 compiled war file in tomcat I get the following exceptions when I attempt to make remote calls to weblogic 10: Sep 7, 2007 10:32:53 AM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Sep 7, 2007 10:32:53 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 2547 ms Error: access denied (java.lang.RuntimePermission accessClassInPackage.com.securatrak.flexui.util.delegate) Error: access denied (java.lang.RuntimePermission accessClassInPackage.com.securatrak.flexui.util.delegate) ..... etc.. I am not sure to how these classes are blocked. I checked out the java.policy and the security.properties files and none of these internal classes have blocked access there. I can workaround this problem by adding the access rights explicitly in the java.policy file as so: permission java.lang.RuntimePermission "accessClassInPackage.com.securatrak.flexui.util.*"; permission java.lang.RuntimePermission "accessClassInPackage.com.securatrak.bom.parts.*"; permission java.lang.RuntimePermission "accessClassInPackage.com.securatrak..*"; However I am not sure why I would need to do this as these are our internal. Does anyone know of any issues with connecting to a Weblogic Appserver using Tomcat and Java 5. Please let me know if you need any other information.; I would greatly appreciate any of your help. Thanks, Harpreet Sandhu -- View this message in context: http://www.nabble.com/problem-with-accessClassInPackage-exceptions-with-Java-5-web-application-tf4419500.html#a12605575 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org