You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2013/01/15 13:52:12 UTC

[jira] [Commented] (FELIX-3847) java.io.IOException: Resource does not exist: bundle://1.0:1/gosh_profile

    [ https://issues.apache.org/jira/browse/FELIX-3847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553748#comment-13553748 ] 

Felix Meschberger commented on FELIX-3847:
------------------------------------------

This looks like improper isolation between the Felix framework in the Web App and the Felix Framework running Glassfish ?
                
> java.io.IOException: Resource does not exist: bundle://1.0:1/gosh_profile
> -------------------------------------------------------------------------
>
>                 Key: FELIX-3847
>                 URL: https://issues.apache.org/jira/browse/FELIX-3847
>             Project: Felix
>          Issue Type: Bug
>          Components: Gogo Shell
>    Affects Versions: gogo.shell-0.10.0
>         Environment: 1 felix 4.0.3
> 2 gogo shell 0.10.0
> 3 jdk 1.7
> 4 windows xp
> 5 glassfish v4 snapshot
>            Reporter: TangYong
>            Priority: Critical
>
> [Background]
> While I embed felix 4.0.3 and gogo shell 0.10.0 and other related bundles into a war, and then deployed the war into glassfish, the issue happened again although FELIX-2446 seemed to have been fixed.
> The result is that felix gogo shell can not be connected using "telnet localhost 6666".
> The stacktrace is as following,
> [#|2013-01-15T12:16:47.953+0900|SEVERE|glassfish 4.0|javax.enterprise.logging.stderr|_ThreadID=97;_ThreadName=telnetconsole.shell remote=/127.0.0.1:2571;_TimeMillis=1358219807953;_LevelValue=1000;|java.io.IOException: Resource does not exist: bundle://1.0:1/gosh_profile
> 	at org.apache.felix.framework.URLHandlersBundleURLConnection.<init>(URLHandlersBundleURLConnection.java:136)
> 	at org.apache.felix.framework.URLHandlersBundleStreamHandler.openConnection(URLHandlersBundleStreamHandler.java:64)
> 	at java.net.URL.openConnection(URL.java:971)
> 	at org.apache.felix.gogo.shell.Shell.readScript(Shell.java:209)
> 	at org.apache.felix.gogo.shell.Shell.source(Shell.java:192)
> 	at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:109)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
> 	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
> 	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
> 	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
> 	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:89)
> 	at org.apache.felix.shell.remote.Shell.startGogoShell(Shell.java:108)
> 	at org.apache.felix.shell.remote.Shell.run(Shell.java:81)
> 	at java.lang.Thread.run(Thread.java:722)
> |#]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira