[
https://issues.apache.org/jira/browse/TOMEE-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15858050#comment-15858050
]
Magesh commented on TOMEE-2013:
-------------------------------
Hi,
When I tried to build the project I'm getting the below exception. could you
please provide any suggestion on this one?
Downloading:
https://repository.apache.org/content/repositories/releases/org/apache/apache/17/apache-17.pom
Downloading:
https://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/apache/17/apache-17.pom
Downloading:
https://repo.maven.apache.org/maven2/org/apache/apache/17/apache-17.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for
org.apache.tomee:tomee-project:7.0.3-SNAPSHOT: Could not transfer artifact
org.apache:apache:pom:17 from/to apache
(https://repository.apache.org/content/repositories/releases/): Connect to
repository.apache.org:443 [repository.apache.org/207.244.88.143] failed:
Connection timed out: connect and 'parent.relativePath' points at no local POM
@ line 26, column 11
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.tomee:tomee-project:7.0.3-SNAPSHOT
(D:\StarPatch_proj\tomee\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for
org.apache.tomee:tomee-project:7.0.3-SNAPSHOT: Could not transfer artifact
org.apache:apache:pom:17 from/to apache
(https://repository.apache.org/content/repositories/releases/): Connect to
repository.apache.org:443 [repository.apache.org/207.244.88.143] failed:
Connection timed out: connect and 'parent.relativePath' points at no local POM
@ line 26, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> Java PropertyPermisssion
> ------------------------
>
> Key: TOMEE-2013
> URL: https://issues.apache.org/jira/browse/TOMEE-2013
> Project: TomEE
> Issue Type: Bug
> Components: TomEE Core Server
> Affects Versions: 7.0.2
> Reporter: Magesh
> Labels: security
> Attachments: Logger.java, openejb-core-7.0.2.jar,
> Security_Permissions_openejb.txt, tomee.patch
>
>
> Hi,
> We are using TOMEE server (apache-tomee-plus-7.0.2) to deploy our
> applications which uses EJBs. When we run the server with security mode
> enabled, applications are not getting deployed without the below permission.
> permission java.util.PropertyPermission "*", "read,write";
> We did some changes to the openejb-core-7.0.2.jar file in the classes
> org.apache.openejb.core.transaction.EjbTransactionUtil,
> org.apache.openejb.core.transaction.JtaTransactionPolicy
> After the changes were made the following specific permissions were required.
> permission java.util.PropertyPermission
> "javax.persistence.transactionType", "read";
> permission java.util.PropertyPermission
> "javax.persistence.schema-generation.database.action", "read";
> permission java.util.PropertyPermission
> "javax.persistence.schema-generation.scripts.action", "read";
> permission java.util.PropertyPermission
> "javax.persistence.jdbc.user", "read";
> permission java.util.PropertyPermission
> "javax.persistence.jdbc.password", "read";
> permission java.util.PropertyPermission
> "javax.persistence.jtaDataSource", "read";
> permission java.util.PropertyPermission
> "javax.persistence.nonJtaDataSource", "read";
> permission java.util.PropertyPermission
> "javax.persistence.lock.timeout", "read";
> permission java.util.PropertyPermission
> "javax.persistence.query.timeout", "read";
> permission java.util.PropertyPermission
> "javax.persistence.schema-generation.connection", "read";
> permission java.util.PropertyPermission
> "javax.persistence.sql-load-script-source", "read";
> permission java.util.PropertyPermission
> "org.eclipse.persistence.querymonitor", "read";
> Will this be addressed in the future release or else the permissions are
> required.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)