You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Samba (JIRA)" <ji...@apache.org> on 2011/01/12 02:12:45 UTC

[jira] Created: (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work

GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work
-------------------------------------------------------------------------------

                 Key: FELIX-2775
                 URL: https://issues.apache.org/jira/browse/FELIX-2775
             Project: Felix
          Issue Type: Bug
          Components: Framework Security
         Environment: Host OS: Ubuntu Linux
JamVM-1.5.4 + patch
GNU Classpath 0.98 + patch

            Reporter: Samba


JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
=======================================
To apply patch:
#1 Download jamvm 1.5.4
#2 untar package
#3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
#4 configure jamvm
./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
#make; make install

GNU Classpath 0.98 + patch (see classpath.patch)
================================
#1 Download classpath

#2 cd classpath-0.98; patch -p1 < classpath.patch

#3 configure classpath
./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>

#4 make; make install

Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
===========================================
#1 download felix-framwork-3.0.7  and untar the distribution
#2 cd felix-framework-3.0.7
#3 Add the following contents to java.policy

grant {
 permission java.security.AllPermission;
}

grant codeBase "http://felix.extensions:9/" {
 permission java.security.AllPermission;
};


#3  start the framework
/usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar

# The framework won;t start and it causes a stack over flow. see felix.log in the attachment

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Samba (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984525#action_12984525 ] 

Samba commented on FELIX-2775:
------------------------------

Hello Karl,

I  have the tried the test that you asked for with urlhandlers enabled.

COMMAND:
=========
/usr/local/jamvm/bin/jamvm -verbose -Xmx256M -Dorg.osgi.framework.security=osgi -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy  -jar bin/felix.jar



With this Felix.jar file the security framework fails to initialise. I have tried with both the latest svn copy for framework.security and the released version (1.4.1)

I get a NoSuchMethodError  for getFileInputStream. The message is coming from

---------
src/main/java/org/apache/felix/framework/security/util/PropertiesCache.java
---------

I looked up the Felix framework source and this method is available in

---------
src/main/java/org/apache/felix/framework/util/SecureAction.java
----------

I am attaching the logs (with and w/o jamvm debug enabled)

regards
Samba

> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework-3.0.7
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>            Assignee: Karl Pauls
>             Fix For: framework-3.2.0
>
>         Attachments: classpath.patch, felix-cache-disable-urlhandlers.tar.gz, felix-cache.tar.gz, felix.jar, felix.log, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113038#comment-13113038 ] 

Richard S. Hall commented on FELIX-2775:
----------------------------------------

Framework 4.0 along with security provider 2.0 are currently undergoing a release vote. So, they should be available next week officially. Until then, you can grab the framework here:

https://repository.apache.org/content/repositories/orgapachefelix-089/org/apache/felix/org.apache.felix.main.distribution/4.0.0/org.apache.felix.main.distribution-4.0.0.tar.gz

And the service provider here:

https://repository.apache.org/content/repositories/orgapachefelix-089/org/apache/felix/org.apache.felix.framework.security/2.0.0/org.apache.felix.framework.security-2.0.0.jar


> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework-3.0.7
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>            Assignee: Karl Pauls
>             Fix For: framework-4.2.0
>
>         Attachments: classpath.patch, felix-cache-disable-urlhandlers.tar.gz, felix-cache.tar.gz, felix-cache.tar.gz, felix.jar, felix.log, felix.log, felix.log.debug, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Samba (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samba updated FELIX-2775:
-------------------------

    Attachment: felix-cache.tar.gz

> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>         Attachments: classpath.patch, felix-cache.tar.gz, felix.log, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Karl Pauls (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Pauls reassigned FELIX-2775:
---------------------------------

    Assignee: Karl Pauls

> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework-3.0.7
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>            Assignee: Karl Pauls
>             Fix For: framework-3.2.0
>
>         Attachments: classpath.patch, felix-cache.tar.gz, felix.log, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Karl Pauls (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12981321#action_12981321 ] 

Karl Pauls commented on FELIX-2775:
-----------------------------------

Yes. I think i can see the issue but it will take me some time to get to it. Meanwhile, did you try to disable urlhandlers? You'd need to set the following property: felix.service.urlhandlers=false (either as a -D system property or pass it to felix via the config file). That should make this problem go away...

> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework-3.0.7
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>            Assignee: Karl Pauls
>             Fix For: framework-3.2.0
>
>         Attachments: classpath.patch, felix-cache.tar.gz, felix.log, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work

Posted by "Samba (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samba updated FELIX-2775:
-------------------------

    Environment: 
Host OS: Ubuntu Linux
JamVM-1.5.4 + patch (fixed protection domain checking code)
GNU Classpath 0.98 + patch (added missing methods  from apache harmony)


  was:
Host OS: Ubuntu Linux
JamVM-1.5.4 + patch
GNU Classpath 0.98 + patch



> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work
> -------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
>            Reporter: Samba
>         Attachments: classpath.patch, felix.log, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 cd felix-framework-3.0.7
> #3 Add the following contents to java.policy
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #3  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Updated] (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall updated FELIX-2775:
-----------------------------------

    Fix Version/s:     (was: framework-4.0.0)
                   framework-4.2.0

> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework-3.0.7
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>            Assignee: Karl Pauls
>             Fix For: framework-4.2.0
>
>         Attachments: classpath.patch, felix-cache-disable-urlhandlers.tar.gz, felix-cache.tar.gz, felix-cache.tar.gz, felix.jar, felix.log, felix.log, felix.log.debug, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Samba (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samba updated FELIX-2775:
-------------------------

    Description: 
JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
=======================================
To apply patch:
#1 Download jamvm 1.5.4
#2 untar package
#3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
#4 configure jamvm
./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
#make; make install

GNU Classpath 0.98 + patch (see classpath.patch)
================================
#1 Download classpath

#2 cd classpath-0.98; patch -p1 < classpath.patch

#3 configure classpath
./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>

#4 make; make install

Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
===========================================
#1 download felix-framwork-3.0.7  and untar the distribution
#2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
#3 cd felix-framework-3.0.7
#4 Add the following contents to java.policy and put it in the conf directory

grant {
 permission java.security.AllPermission;
}

grant codeBase "http://felix.extensions:9/" {
 permission java.security.AllPermission;
};



#5  start the framework
/usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar

# The framework won;t start and it causes a stack over flow. see felix.log in the attachment

  was:
JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
=======================================
To apply patch:
#1 Download jamvm 1.5.4
#2 untar package
#3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
#4 configure jamvm
./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
#make; make install

GNU Classpath 0.98 + patch (see classpath.patch)
================================
#1 Download classpath

#2 cd classpath-0.98; patch -p1 < classpath.patch

#3 configure classpath
./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>

#4 make; make install

Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
===========================================
#1 download felix-framwork-3.0.7  and untar the distribution
#2 cd felix-framework-3.0.7
#3 Add the following contents to java.policy

grant {
 permission java.security.AllPermission;
}

grant codeBase "http://felix.extensions:9/" {
 permission java.security.AllPermission;
};


#3  start the framework
/usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar

# The framework won;t start and it causes a stack over flow. see felix.log in the attachment

    Environment: 
Host OS: Ubuntu Linux
JamVM-1.5.4 + patch (fixed protection domain checking code)
GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
felix framework - 3.0.7/3.1.0-SNAPSHOT
framework.security - org.apache.felix.framework.security-1.4.1.jar



  was:
Host OS: Ubuntu Linux
JamVM-1.5.4 + patch (fixed protection domain checking code)
GNU Classpath 0.98 + patch (added missing methods  from apache harmony)



> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>         Attachments: classpath.patch, felix.log, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Updated] (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Yen Tran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yen Tran updated FELIX-2775:
----------------------------

    Attachment: framework4WithSecurity.log
                withSecurity.log
                withoutSecurity.log

Framework 3.2.2 + security 1.4.2 = withSecurity.log
Framework 3.2.2 without security = withoutSecurity.log

Framework 4.0 + security 2.0 = framework4WithSecurity.log

> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework-3.0.7
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>            Assignee: Karl Pauls
>             Fix For: framework-4.2.0
>
>         Attachments: classpath.patch, felix-cache-disable-urlhandlers.tar.gz, felix-cache.tar.gz, felix-cache.tar.gz, felix.jar, felix.log, felix.log, felix.log.debug, framework4WithSecurity.log, jamvm.patch, withSecurity.log, withoutSecurity.log
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Yen Tran (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112986#comment-13112986 ] 

Yen Tran commented on FELIX-2775:
---------------------------------

Karl,
thanks for responding.
I checked out the latest trunk, but org.apache.felix.framework-4.0.0.pom is not found.  I check the depot, the newest is 3.2.2.  Please advise.
--yen

> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework-3.0.7
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>            Assignee: Karl Pauls
>             Fix For: framework-4.2.0
>
>         Attachments: classpath.patch, felix-cache-disable-urlhandlers.tar.gz, felix-cache.tar.gz, felix-cache.tar.gz, felix.jar, felix.log, felix.log, felix.log.debug, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall updated FELIX-2775:
-----------------------------------

    Affects Version/s: framework-3.0.7
        Fix Version/s: framework-3.2.0

> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework-3.0.7
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>             Fix For: framework-3.2.0
>
>         Attachments: classpath.patch, felix-cache.tar.gz, felix.log, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Samba (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samba updated FELIX-2775:
-------------------------

    Attachment: felix-cache-disable-urlhandlers.tar.gz

tar of the felix-cache directory when felix is launched with - -Dfelix.service.urlhandlers=false 

> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework-3.0.7
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>            Assignee: Karl Pauls
>             Fix For: framework-3.2.0
>
>         Attachments: classpath.patch, felix-cache-disable-urlhandlers.tar.gz, felix-cache.tar.gz, felix.log, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Yen Tran (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112995#comment-13112995 ] 

Yen Tran commented on FELIX-2775:
---------------------------------

Karl,
Before updating the latest trunk, I was using framework version 3.1.0, and framework.security version 1.4.2.  The classpath lib, and Jamvm are exactly the same as the submitter of this Jira (GNU Classpath0.98 +JamVM 1.54).   I applied all the patches for classpath + Jamvm as mentioned in this Jira, and ended up at the exact same point.
I will try with framework version 3.2.2 now.
--yen

> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework-3.0.7
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>            Assignee: Karl Pauls
>             Fix For: framework-4.2.0
>
>         Attachments: classpath.patch, felix-cache-disable-urlhandlers.tar.gz, felix-cache.tar.gz, felix-cache.tar.gz, felix.jar, felix.log, felix.log, felix.log.debug, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work

Posted by "Samba (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samba updated FELIX-2775:
-------------------------

    Attachment: felix.log
                classpath.patch
                jamvm.patch

> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work
> -------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch
> GNU Classpath 0.98 + patch
>            Reporter: Samba
>         Attachments: classpath.patch, felix.log, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 cd felix-framework-3.0.7
> #3 Add the following contents to java.policy
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #3  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Samba (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12981449#action_12981449 ] 

Samba commented on FELIX-2775:
------------------------------

After i disable urlhandlers, I seem to move forward a bit where bundle are getting created(I see more bundleX directories in the felix-cache directory now)  but the the gogo shell won't start, maybe because it is relying on the URL handler service.

COMMAND:
=======
root@ubuntu:/home/samba/wurk/downloads/osgi/felix-framework-3.0.7# /usr/local/jamvm/bin/jamvm -Xmx256M -Dfelix.service.urlhandlers=false -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar


LOG:
===
Read logging propreties from file:///home/samba/wurk/downloads/osgi/classpath-0.98/install/lib/logging.properties
Default Policy user file  /root/.java.policy
Default Policy file  /usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/security/java.policy
Parsing configuration file file:/home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy
Building policy from URLs  {(http://felix.extensions:9/ <no certificates>)=java.security.Permissions@a7f370b8 (
 (java.security.AllPermission *)
)
, (null <no certificates>)=java.security.Permissions@a7f36550 (
 (java.security.AllPermission *)
)
}
gogo: MalformedURLException: Protocol handler not found: bundle
java.net.MalformedURLException: Protocol handler not found: bundle
   at java.net.URL.<init>(URL.java:495)
   at java.net.URL.<init>(URL.java:327)
   at java.net.URI.toURL(URI.java:1004)
   at org.apache.felix.gogo.shell.Shell.readScript(Shell.java:204)
   at org.apache.felix.gogo.shell.Shell.source(Shell.java:187)
   at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:107)
   at java.lang.reflect.VMMethod.invoke(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:327)
   at org.apache.felix.gogo.runtime.Reflective.method(Reflective.java:136)
   at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
   at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:458)
   at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:384)
   at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
   at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
   at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
   at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:79)
   at org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
   at java.lang.Thread.run(Thread.java:745)

Also  see felix-cache-disable-urlhandlers.tar.gz

> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework-3.0.7
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>            Assignee: Karl Pauls
>             Fix For: framework-3.2.0
>
>         Attachments: classpath.patch, felix-cache.tar.gz, felix.log, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Yen Tran (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112181#comment-13112181 ] 

Yen Tran commented on FELIX-2775:
---------------------------------

Hi Richard,

Is this problem not going to be fixed until much later release, I just saw your update from 9/19?
I encounter the exact same problem, and not able to start the felix security provider 1.4.2.
Is there another way to go around this?

ARNING: Unable to start Felix Extension Activator (java.lang.NoSuchMethodError:
 getFileInputStream)
java.lang.NoSuchMethodError: getFileInputStream
   at org.apache.felix.framework.security.util.PropertiesCache.read(PropertiesCa
che.java:142)
   at org.apache.felix.framework.security.permissionadmin.PermissionAdminImpl.<i
nit>(PermissionAdminImpl.java:66)
   at org.apache.felix.framework.SecurityActivator.start(SecurityActivator.java:
132)
   at org.apache.felix.framework.util.SecureAction$Actions.run(SecureAction.java
:1254)
   at java.security.AccessController.doPrivileged(AccessController.java:195)
   at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.j
ava:624)
   at org.apache.felix.framework.ExtensionManager.startExtensionBundle(Extension
Manager.java:393)
   at org.apache.felix.framework.Felix.installBundle(Felix.java:2614)
   at org.apache.felix.framework.Felix.installBundle(Felix.java:2441)
   at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextIm
pl.java:121)
   at org.apache.felix.main.AutoProcessor.processAutoProperties(AutoProcessor.ja
va:272)
   at org.apache.felix.main.AutoProcessor.process(AutoProcessor.java:75)
   at org.apache.felix.main.Main.main(Main.java:291)


Thanks,
Yen


> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework-3.0.7
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>            Assignee: Karl Pauls
>             Fix For: framework-4.2.0
>
>         Attachments: classpath.patch, felix-cache-disable-urlhandlers.tar.gz, felix-cache.tar.gz, felix-cache.tar.gz, felix.jar, felix.log, felix.log, felix.log.debug, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Karl Pauls (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112394#comment-13112394 ] 

Karl Pauls commented on FELIX-2775:
-----------------------------------

Hi Yen,

what version of framework and framework.security are you using? Could you try with the current trunk?

regards,

Karl

> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework-3.0.7
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>            Assignee: Karl Pauls
>             Fix For: framework-4.2.0
>
>         Attachments: classpath.patch, felix-cache-disable-urlhandlers.tar.gz, felix-cache.tar.gz, felix-cache.tar.gz, felix.jar, felix.log, felix.log, felix.log.debug, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Yen Tran (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113099#comment-13113099 ] 

Yen Tran commented on FELIX-2775:
---------------------------------

Hi Karl,
GNU Classpath 0.98+ JamVM 1.54 + Felix (3.2.2 and 4.0)

I have tried the latest trunk with framework 3.2.2 and also the soon to be released 4.0 with security provider 2.0.  I get a different error message now with java.lang.NoSuchMethodException: getCodeSigners, and eventually runs into StackOverFlowError.   I am attached the log files running the framework without security, and with security.

With the older framework 3.1.0 and security provider 1.4.2, the security bundle is installed, but not starting (as described by original submitter of this Jira).

Thanks for looking into this.
--yen

> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework-3.0.7
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>            Assignee: Karl Pauls
>             Fix For: framework-4.2.0
>
>         Attachments: classpath.patch, felix-cache-disable-urlhandlers.tar.gz, felix-cache.tar.gz, felix-cache.tar.gz, felix.jar, felix.log, felix.log, felix.log.debug, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Karl Pauls (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Pauls updated FELIX-2775:
------------------------------

    Attachment: felix.jar

Could you try whether the attached felix.jar solves your issue? Please don't disable the urlhandlers for this test. 

> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework-3.0.7
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>            Assignee: Karl Pauls
>             Fix For: framework-3.2.0
>
>         Attachments: classpath.patch, felix-cache-disable-urlhandlers.tar.gz, felix-cache.tar.gz, felix.jar, felix.log, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Samba (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samba updated FELIX-2775:
-------------------------

    Summary: GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled  (was: GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work)

> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
>            Reporter: Samba
>         Attachments: classpath.patch, felix.log, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 cd felix-framework-3.0.7
> #3 Add the following contents to java.policy
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #3  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-2775) GNU Classpath 0.98 + JamVM 1.5.4 + Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled

Posted by "Samba (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samba updated FELIX-2775:
-------------------------

    Attachment: felix.log.debug
                felix.log
                felix-cache.tar.gz

> GNU Classpath 0.98 + JamVM 1.5.4 +  Felix (3.0.7, 3.1.0-SNAPSHOT) does not work with felix security framework enabled
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2775
>                 URL: https://issues.apache.org/jira/browse/FELIX-2775
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework Security
>    Affects Versions: framework-3.0.7
>         Environment: Host OS: Ubuntu Linux
> JamVM-1.5.4 + patch (fixed protection domain checking code)
> GNU Classpath 0.98 + patch (added missing methods  from apache harmony)
> felix framework - 3.0.7/3.1.0-SNAPSHOT
> framework.security - org.apache.felix.framework.security-1.4.1.jar
>            Reporter: Samba
>            Assignee: Karl Pauls
>             Fix For: framework-3.2.0
>
>         Attachments: classpath.patch, felix-cache-disable-urlhandlers.tar.gz, felix-cache.tar.gz, felix-cache.tar.gz, felix.jar, felix.log, felix.log, felix.log.debug, jamvm.patch
>
>
> JamVM-1.5.4 + patch (see jamvm.patch attached to this bug)
> =======================================
> To apply patch:
> #1 Download jamvm 1.5.4
> #2 untar package
> #3 cd jamvm-1.5.4; patch -p1 < jamvm.patch
> #4 configure jamvm
> ./configure --with-classpath-install-dir=/home/samba/wurk/downloads/osgi/classpath-0.98/install/ --disable-int-inlining --disable-tls
> #make; make install
> GNU Classpath 0.98 + patch (see classpath.patch)
> ================================
> #1 Download classpath
> #2 cd classpath-0.98; patch -p1 < classpath.patch
> #3 configure classpath
> ./configure --without-x --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-tools --disable-examples --enable-xmlj --prefix=<install dir>
> #4 make; make install
> Felix-3.0.7 (Also reproducible using latest trunk i.e 3.1.0-SNAPSHOT)
> ===========================================
> #1 download felix-framwork-3.0.7  and untar the distribution
> #2 Download org.apache.felix.framework.security-1.4.1.jar and copy it in felix-framework-3.0.7/bundle directory
> #3 cd felix-framework-3.0.7
> #4 Add the following contents to java.policy and put it in the conf directory
> grant {
>  permission java.security.AllPermission;
> }
> grant codeBase "http://felix.extensions:9/" {
>  permission java.security.AllPermission;
> };
> #5  start the framework
> /usr/local/jamvm/bin/jamvm -Xmx256M -Dorg.osgi.framework.security="osgi" -Dpolicy.provider=gnu.java.security.PolicyFile -Djava.security.policy=file:///home/samba/wurk/downloads/osgi/felix-framework-3.0.7/conf/java.policy   -jar bin/felix.jar
> # The framework won;t start and it causes a stack over flow. see felix.log in the attachment

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.