Hi there,
I have standalone application. Today I tried to deploy it using
WebStart and it does not work, I am getting exceptions that class this
or that is not visible from class loader (stack trace attached).

The launch.jnlp has <security> <all-permissions/> </security> and all
JARs are signed.
I am using Guice 2.0, but the same was happening with 1.0 (I switched
today thinking maybe it was some bug related to 1.0, but as you can
see, Guice 2.0 does not work as well).

Do you know what is the problem, any ideas?

Thanks,
Witold Szczerba

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Java Web Start 1.6.0_14
Using JRE version 1.6.0_14-b08 Java HotSpot(TM) Client VM
User home directory = /home/witoldsz
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
m:   print memory usage
o:   trigger logging
p:   reload proxy configuration
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
0-5: set trace level to <n>
----------------------------------------------------
Reading certificates from 83716 
http://localhost:8080/netBroker-client/app/netBroker-client.jar | 
/home/witoldsz/.java/deployment/cache/6.0/13/26e0f84d-7b12cfad-20090803-1239-.idx
Reading certificates from 24522 
http://localhost:8080/netBroker-client/app/lib/netBroker-common.jar | 
/home/witoldsz/.java/deployment/cache/6.0/29/4a2bee1d-2eaa93ad-20090803-1239-.idx
Reading certificates from 13480 
http://localhost:8080/netBroker-client/app/lib/Toolkit.jar | 
/home/witoldsz/.java/deployment/cache/6.0/41/2036d2e9-46066875-20090803-1239-.idx
Reading certificates from 164180 
http://localhost:8080/netBroker-client/app/lib/appserv-admin.jar | 
/home/witoldsz/.java/deployment/cache/6.0/35/78df323-2e9b1696-9.1-.idx
Reading certificates from 15442 
http://localhost:8080/netBroker-client/app/lib/appserv-deployment-client.jar | 
/home/witoldsz/.java/deployment/cache/6.0/36/5f5415e4-46bdcbc4-9.1-.idx
Reading certificates from 76644 
http://localhost:8080/netBroker-client/app/lib/appserv-ext.jar | 
/home/witoldsz/.java/deployment/cache/6.0/6/3fc82206-2dc02671-9.1-.idx
Reading certificates from 1152456 
http://localhost:8080/netBroker-client/app/lib/appserv-rt.jar | 
/home/witoldsz/.java/deployment/cache/6.0/40/43651668-504aee8d-9.1-.idx
Reading certificates from 19244 
http://localhost:8080/netBroker-client/app/lib/jmxremote_optional.jar | 
/home/witoldsz/.java/deployment/cache/6.0/24/27ce38d8-1b6a3b4c-opendmk-1.0-b01-ea-.idx
Reading certificates from 114414 
http://localhost:8080/netBroker-client/app/lib/javaee.jar | 
/home/witoldsz/.java/deployment/cache/6.0/8/2070dd08-1dd696a0-5-.idx
Reading certificates from 23148 
http://localhost:8080/netBroker-client/app/lib/mail.jar | 
/home/witoldsz/.java/deployment/cache/6.0/13/5ab9a04d-7538bae2-1.4.1-.idx
Reading certificates from 1942 
http://localhost:8080/netBroker-client/app/lib/AbsoluteLayout.jar | 
/home/witoldsz/.java/deployment/cache/6.0/50/9ddf632-1ee8c6e8-0-.idx
Reading certificates from 25124 
http://localhost:8080/netBroker-client/app/lib/beansbinding.jar | 
/home/witoldsz/.java/deployment/cache/6.0/62/371b7d7e-4d1a9f94-1.2.1-svn_r630-.idx
Reading certificates from 16340 
http://localhost:8080/netBroker-client/app/lib/commons-beanutils.jar | 
/home/witoldsz/.java/deployment/cache/6.0/11/2092058b-7647cf1b-1.8.0-.idx
Reading certificates from 58318 
http://localhost:8080/netBroker-client/app/lib/commons-collections.jar | 
/home/witoldsz/.java/deployment/cache/6.0/20/14aa6894-5d0324b3-3.2.1-.idx
Reading certificates from 13568 
http://localhost:8080/netBroker-client/app/lib/commons-digester.jar | 
/home/witoldsz/.java/deployment/cache/6.0/2/5fe806c2-5a7e52c5-2.0-.idx
Reading certificates from 9400 
http://localhost:8080/netBroker-client/app/lib/commons-io.jar | 
/home/witoldsz/.java/deployment/cache/6.0/25/3e87c3d9-211c1d8a-1.4-.idx
Reading certificates from 14688 
http://localhost:8080/netBroker-client/app/lib/commons-lang.jar | 
/home/witoldsz/.java/deployment/cache/6.0/49/14a40671-77deb1cd-2.3-.idx
Reading certificates from 3920 
http://localhost:8080/netBroker-client/app/lib/commons-logging.jar | 
/home/witoldsz/.java/deployment/cache/6.0/37/24306625-7d4a3468-1.1.1-.idx
Reading certificates from 57384 
http://localhost:8080/netBroker-client/app/lib/guice.jar | 
/home/witoldsz/.java/deployment/cache/6.0/58/4a131cfa-12933c56-2.0-.idx
Reading certificates from 2430 
http://localhost:8080/netBroker-client/app/lib/aopalliance.jar | 
/home/witoldsz/.java/deployment/cache/6.0/57/2d9100b9-53506c44-1.0-.idx
Reading certificates from 14518 
http://localhost:8080/netBroker-client/app/lib/microba.jar | 
/home/witoldsz/.java/deployment/cache/6.0/10/1702274a-27997c4c-0.4.4.3-.idx
Reading certificates from 61030 
http://localhost:8080/netBroker-client/app/lib/freemarker.jar | 
/home/witoldsz/.java/deployment/cache/6.0/6/77cc1086-5b379511-2.3.12-.idx
Reading certificates from 3318 
http://localhost:8080/netBroker-client/app/lib/gnu-regexp.jar | 
/home/witoldsz/.java/deployment/cache/6.0/36/110a4f64-4b531653-1.1.4-.idx
Reading certificates from 5516 
http://localhost:8080/netBroker-client/app/lib/jooreports-mod.jar | 
/home/witoldsz/.java/deployment/cache/6.0/34/411dfe22-1652483e-jader-1-.idx
Reading certificates from 11828 
http://localhost:8080/netBroker-client/app/lib/KafenioCorrected.jar | 
/home/witoldsz/.java/deployment/cache/6.0/21/640a6f15-639c3292-0-.idx
Reading certificates from 24514 
http://localhost:8080/netBroker-client/app/lib/xom.jar | 
/home/witoldsz/.java/deployment/cache/6.0/11/62e5df0b-3bedeafa-1.1-.idx
#### Java Web Start Error:
#### Guice provision errors:

1) Error in custom provider, java.lang.IllegalArgumentException: interface 
pl.ibpolsoft.netbroker.core.service.LoginServiceRemote is not visible from 
class loader
  at pl.ibpolsoft.netbroker.client.ejb.EjbModule.collect(EjbModule.java:91)
  while locating pl.ibpolsoft.netbroker.core.service.LoginServiceRemote
    for parameter 0 at 
pl.ibpolsoft.netbroker.client.login.LoginModel.<init>(LoginModel.java:34)
  while locating pl.ibpolsoft.netbroker.client.login.LoginModel
    for parameter 0 at 
pl.ibpolsoft.netbroker.client.mainframe.MainFrame.<init>(MainFrame.java:94)
  while locating pl.ibpolsoft.netbroker.client.mainframe.MainFrame
    for parameter 0 at pl.ibpolsoft.netbroker.client.Main.<init>(Main.java:55)
  while locating pl.ibpolsoft.netbroker.client.Main
Caused by: java.lang.IllegalArgumentException: interface 
pl.ibpolsoft.netbroker.core.service.LoginServiceRemote is not visible from 
class loader
        at java.lang.reflect.Proxy.getProxyClass(Proxy.java:353)
        at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
        at 
pl.ibpolsoft.netbroker.client.ejb.FailsafeEjbProvider.get(FailsafeEjbProvider.java:50)
        at 
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
        at 
com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
        at 
com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
        at 
com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
        at 
com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
        at 
com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
        at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
        at 
com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
        at com.google.inject.Scopes$1$1.get(Scopes.java:54)
        at 
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
        at 
com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
        at 
com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
        at 
com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
        at 
com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
        at 
com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
        at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
        at 
com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
        at com.google.inject.Scopes$1$1.get(Scopes.java:54)
        at 
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
        at 
com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
        at 
com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
        at 
com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
        at 
com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
        at 
com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
        at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
        at 
com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
        at com.google.inject.Scopes$1$1.get(Scopes.java:54)
        at 
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
        at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)
        at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804)
        at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)
        at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793)
        at pl.ibpolsoft.netbroker.client.Main.main(Main.java:49)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.javaws.Launcher.executeApplication(Launcher.java:1468)
        at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1414)
        at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1225)
        at com.sun.javaws.Launcher.run(Launcher.java:114)
        at java.lang.Thread.run(Thread.java:619)

2) Error in custom provider, java.lang.IllegalArgumentException: interface 
pl.ibpolsoft.netbroker.core.service.LoginServiceRemote is not visible from 
class loader
  at pl.ibpolsoft.netbroker.client.ejb.EjbModule.collect(EjbModule.java:91)
  while locating pl.ibpolsoft.netbroker.core.service.LoginServiceRemote
    for parameter 0 at 
pl.ibpolsoft.netbroker.client.login.LoginModel.<init>(LoginModel.java:34)
  while locating pl.ibpolsoft.netbroker.client.login.LoginModel
    for parameter 0 at 
pl.ibpolsoft.netbroker.client.mainframe.MainTitle.<init>(MainTitle.java:29)
  while locating pl.ibpolsoft.netbroker.client.mainframe.MainTitle
    for parameter 1 at 
pl.ibpolsoft.netbroker.client.mainframe.MainFrame.<init>(MainFrame.java:94)
  while locating pl.ibpolsoft.netbroker.client.mainframe.MainFrame
    for parameter 0 at pl.ibpolsoft.netbroker.client.Main.<init>(Main.java:55)
  while locating pl.ibpolsoft.netbroker.client.Main
Caused by: java.lang.IllegalArgumentException: interface 
pl.ibpolsoft.netbroker.core.service.LoginServiceRemote is not visible from 
class loader
        at java.lang.reflect.Proxy.getProxyClass(Proxy.java:353)
        at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
        at 
pl.ibpolsoft.netbroker.client.ejb.FailsafeEjbProvider.get(FailsafeEjbProvider.java:50)
        at 
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
        at 
com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
        at 
com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
        at 
com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
        at 
com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
        at 
com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
        at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
        at 
com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
        at com.google.inject.Scopes$1$1.get(Scopes.java:54)
        at 
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
        at 
com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
        at 
com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
        at 
com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
        at 
com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
        at 
com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
        at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
        at 
com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
        at com.google.inject.Scopes$1$1.get(Scopes.java:54)
        at 
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
        at 
com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
        at 
com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
        at 
com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
        at 
com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
        at 
com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
        at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
        at 
com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
        at com.google.inject.Scopes$1$1.get(Scopes.java:54)
        at 
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
        at 
com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
        at 
com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
        at 
com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
        at 
com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
        at 
com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
        at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
        at 
com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
        at com.google.inject.Scopes$1$1.get(Scopes.java:54)
        at 
com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
        at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)
        at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804)
        at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)
        at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793)
        at pl.ibpolsoft.netbroker.client.Main.main(Main.java:49)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.javaws.Launcher.executeApplication(Launcher.java:1468)
        at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1414)
        at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1225)
        at com.sun.javaws.Launcher.run(Launcher.java:114)
        at java.lang.Thread.run(Thread.java:619)

3) Error in custom provider, java.lang.IllegalArgumentException: interface 
pl.ibpolsoft.netbroker.core.task.TaskDaoRemote is not visible from class loader
  at pl.ibpolsoft.netbroker.client.ejb.EjbModule.collect(EjbModule.java:91)
  while locating pl.ibpolsoft.netbroker.core.task.TaskDaoRemote
    for parameter 0 at pl.ibpolsoft.netbroker.client.task.TaskBrowse
Trace message truncated for length over 10K

Reply via email to