You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by hairdawgg <hs...@yahoo.com> on 2007/09/11 02:09:41 UTC
problem with accessClassInPackage exceptions with Java 5 web
application
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
Re: how to set up environment struts and eclipse
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Carol,
Carol Shi wrote:
> I am trying to use struts to build web application.
#1: Don't hijack threads; start a new one if you want to ask a new question.
#2: Post struts questions to the struts list. They know all about Tomcat
over there, but this isn't really a Tomcat-specific question, anyway.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFG5q/o9CaO5/Lv0PARAr7CAJ9LcxUoxaoiHCZQd5gNMRl1QQCNvgCfQK5C
HRJ0tijA/6GxVIB0/kMYtq4=
=w+Vq
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
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
how to set up environment struts and eclipse
Posted by Carol Shi <ca...@efreightech.com>.
Hi Everybody,
I am trying to use struts to build web application. I just download
struts2.0.9 version and eclipse(Europo) j2ee develpers.I have tomcat5.5. I
dont know how to configure and use struts in this eclipse and collaborate
them to create projects. I am learning struts and trying to run some simple
struts example.
Thanks!
Carol
---------------------------------------------------------------------
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