[JBoss JIRA] (WFLY-3697) Custom http handlers support
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/WFLY-3697?page=com.atlassian.jira.plugin.... ]
Tomaz Cerar updated WFLY-3697:
------------------------------
Description:
We need support for custom handlers & filters
something along the lines
{code:xml}
<handlers>
<handler name="myhandler" class="full.class.name" module"full.module.name" />
<handlers>
<filters>
<filter name="myfilter" class="full.class.name" module"full.module.name" />
<filters>
{code}
There should also be a way to pass in arbitrary config options
was:
We need support for custom handlers & filters
something along the lines
{code:xml}
<handler name="myhandler" class="full.class.name" module"full.module.name" />
{code:xml}
There should also be a way to pass in arbitrary config options
> Custom http handlers support
> ----------------------------
>
> Key: WFLY-3697
> URL: https://issues.jboss.org/browse/WFLY-3697
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Web (Undertow)
> Reporter: Tomaz Cerar
> Assignee: Tomaz Cerar
> Fix For: 9.0.0.Beta1
>
>
> We need support for custom handlers & filters
> something along the lines
> {code:xml}
> <handlers>
> <handler name="myhandler" class="full.class.name" module"full.module.name" />
> <handlers>
> <filters>
> <filter name="myfilter" class="full.class.name" module"full.module.name" />
> <filters>
> {code}
> There should also be a way to pass in arbitrary config options
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (WFLY-3697) Custom http handlers support
by Tomaz Cerar (JIRA)
Tomaz Cerar created WFLY-3697:
---------------------------------
Summary: Custom http handlers support
Key: WFLY-3697
URL: https://issues.jboss.org/browse/WFLY-3697
Project: WildFly
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Web (Undertow)
Reporter: Tomaz Cerar
Assignee: Tomaz Cerar
Fix For: 9.0.0.Beta1
We need support for custom handlers & filters
something along the lines
{code:xml}
<handler name="myhandler" class="full.class.name" module"full.module.name" />
{code:xml}
There should also be a way to pass in arbitrary config options
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (JGRP-1864) UDP unable to bind to ephemeral port: port out of range:65536
by Bela Ban (JIRA)
[ https://issues.jboss.org/browse/JGRP-1864?page=com.atlassian.jira.plugin.... ]
Bela Ban commented on JGRP-1864:
--------------------------------
Sorry, no matter what type of IPv6 address I used (link-local or global), this always works.
Get me a standalone JGroups case with
- config
- exact description of how to run it
- command line options
, so I can reproduce it.
Closing this for now.
> UDP unable to bind to ephemeral port: port out of range:65536
> -------------------------------------------------------------
>
> Key: JGRP-1864
> URL: https://issues.jboss.org/browse/JGRP-1864
> Project: JGroups
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.4.4
> Reporter: Dan Berindei
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 3.4.5, 3.5
>
>
> It looks like {{UDP.createEphemeralDatagramSocket()}} swallows any errors it gets while creating the socket, and throws this exception after trying to bind to all ports in the 0 - 65535 range:
> {noformat}
> java.lang.IllegalArgumentException: port out of range:65536
> at java.net.InetSocketAddress.checkPort(InetSocketAddress.java:143)
> at java.net.InetSocketAddress.<init>(InetSocketAddress.java:185)
> at java.net.DatagramSocket.<init>(DatagramSocket.java:284)
> at org.jgroups.util.DefaultSocketFactory.createDatagramSocket(DefaultSocketFactory.java:62)
> at org.jgroups.protocols.UDP.createEphemeralDatagramSocket(UDP.java:429)
> at org.jgroups.protocols.UDP.createSockets(UDP.java:311)
> at org.jgroups.protocols.UDP.start(UDP.java:216)
> at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:966)
> at org.jgroups.JChannel.startStack(JChannel.java:889)
> at org.jgroups.JChannel._preConnect(JChannel.java:547)
> at org.jgroups.JChannel.connect(JChannel.java:282)
> at org.jgroups.JChannel.connect(JChannel.java:273)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:200)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (WFLY-2510) Add CLI command to display information about current connection.
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFLY-2510?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse commented on WFLY-2510:
----------------------------------------
Here is the issue that would be the pre-requisite for any 'w' type comment - WFLY-423
> Add CLI command to display information about current connection.
> ----------------------------------------------------------------
>
> Key: WFLY-2510
> URL: https://issues.jboss.org/browse/WFLY-2510
> Project: WildFly
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: CLI
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
> Labels: management_security,
> Fix For: Awaiting Volunteers
>
>
> Would be useful for a single command to display information about the current connection.
> Definitely information about SSL, certificates, authenticated user, address etc...
> Could also obtain other common info from server.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (WFLY-2510) Add CLI command to display information about current connection.
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFLY-2510?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse commented on WFLY-2510:
----------------------------------------
There is a separate issue that covers that scenario - for that one the first step is internally we need to capture that information and provide the information in the mode.
This issue is for a user to inspect information about their own connection i.e. similar to in a web browser where you can check the SSL status of the connection to the web browser you are viewing.
> Add CLI command to display information about current connection.
> ----------------------------------------------------------------
>
> Key: WFLY-2510
> URL: https://issues.jboss.org/browse/WFLY-2510
> Project: WildFly
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: CLI
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
> Labels: management_security,
> Fix For: Awaiting Volunteers
>
>
> Would be useful for a single command to display information about the current connection.
> Definitely information about SSL, certificates, authenticated user, address etc...
> Could also obtain other common info from server.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (WFLY-3554) ejb-jar.xml interceptor-binding does not accept "*"
by Bartosz Baranowski (JIRA)
[ https://issues.jboss.org/browse/WFLY-3554?page=com.atlassian.jira.plugin.... ]
Bartosz Baranowski updated WFLY-3554:
-------------------------------------
Fix Version/s: 8.2.0.CR1
9.0.0.Beta1
> ejb-jar.xml interceptor-binding does not accept "*"
> ---------------------------------------------------
>
> Key: WFLY-3554
> URL: https://issues.jboss.org/browse/WFLY-3554
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: EJB
> Affects Versions: 8.1.0.Final
> Reporter: Wolf-Dieter Fink
> Assignee: Bartosz Baranowski
> Fix For: 8.2.0.CR1, 9.0.0.Beta1
>
>
> From the ejb3.1 specification (JSR 318) chapter 12.7 Specification of Interceptors in the Deployment Descriptor:
> ""
> In the interceptor-binding element, the target-name element must be the name of one of
> the enterprise beans contained in the ejb-jar or the wildcard value “*”.
> ""
> But the "*" as ejb-name is ignored, only a bean name will result in binding the interceptor during deployment
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (JGRP-1864) UDP unable to bind to ephemeral port: port out of range:65536
by Ion Savin (JIRA)
[ https://issues.jboss.org/browse/JGRP-1864?page=com.atlassian.jira.plugin.... ]
Ion Savin commented on JGRP-1864:
---------------------------------
I think this is the config used:
https://github.com/infinispan/infinispan/blob/master/core/src/main/resour...
bind_addr was not set and it defaulted to: "fe80:0:0:0:f816:3eff:fe3b:55a9%2"
This is what ifconfig shows for eth0: inet6 addr: fe80::f816:3eff:fe3b:55a9/64 Scope:Link
Perhaps the Link Local address is causing the bind to fail.
> UDP unable to bind to ephemeral port: port out of range:65536
> -------------------------------------------------------------
>
> Key: JGRP-1864
> URL: https://issues.jboss.org/browse/JGRP-1864
> Project: JGroups
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.4.4
> Reporter: Dan Berindei
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 3.4.5, 3.5
>
>
> It looks like {{UDP.createEphemeralDatagramSocket()}} swallows any errors it gets while creating the socket, and throws this exception after trying to bind to all ports in the 0 - 65535 range:
> {noformat}
> java.lang.IllegalArgumentException: port out of range:65536
> at java.net.InetSocketAddress.checkPort(InetSocketAddress.java:143)
> at java.net.InetSocketAddress.<init>(InetSocketAddress.java:185)
> at java.net.DatagramSocket.<init>(DatagramSocket.java:284)
> at org.jgroups.util.DefaultSocketFactory.createDatagramSocket(DefaultSocketFactory.java:62)
> at org.jgroups.protocols.UDP.createEphemeralDatagramSocket(UDP.java:429)
> at org.jgroups.protocols.UDP.createSockets(UDP.java:311)
> at org.jgroups.protocols.UDP.start(UDP.java:216)
> at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:966)
> at org.jgroups.JChannel.startStack(JChannel.java:889)
> at org.jgroups.JChannel._preConnect(JChannel.java:547)
> at org.jgroups.JChannel.connect(JChannel.java:282)
> at org.jgroups.JChannel.connect(JChannel.java:273)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:200)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (JASSIST-231) ProxyFactory.createClass throws RuntimeException caused by CannotCompileException caused by NoClassDefFoundError
by Ilia Ilia (JIRA)
Ilia Ilia created JASSIST-231:
---------------------------------
Summary: ProxyFactory.createClass throws RuntimeException caused by CannotCompileException caused by NoClassDefFoundError
Key: JASSIST-231
URL: https://issues.jboss.org/browse/JASSIST-231
Project: Javassist
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.18.2-GA
Environment: Windows 8.1, Eclipse OSGi
Reporter: Ilia Ilia
Assignee: Shigeru Chiba
This appears to be a very old bug which happens on Eclipse OSGi projects.
I have found the same issue filed at 2012.
http://www.coderanch.com/t/563250/vc/Tomcat-Startup-Error-Javassist
It still happens on the latest javassist release 3.18.2-GA
{noformat}
14-07-31 15:25:37 [ WARN] org.hibernate.type.TypeFactory {main}
HHH000233: Scoping types to session factory org.hibernate.internal.SessionFactoryImpl@6e710b23 after already scoped org.hibernate.internal.SessionFactoryImpl@3f925f7a
java.lang.RuntimeException: by java.lang.NoClassDefFoundError: platform/server/core/general/protocol/ProtocolBuffer
at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:515)
at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:492)
at javassist.util.proxy.ProxyFactory.createClass1(ProxyFactory.java:428)
at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:400)
at platform.server.core.general.system.service.cache.impl.checker.CacheReusableCheckerBuilderImpl.createClass(CacheReusableCheckerBuilderImpl.java:110)
at platform.server.core.general.system.service.cache.impl.checker.CacheReusableCheckerBuilderImpl.buildChecker(CacheReusableCheckerBuilderImpl.java:55)
at platform.server.core.general.system.service.cache.impl.CacheWithReusableCorrect.newInstance(CacheWithReusableCorrect.java:19)
at platform.server.core.general.system.service.cache.impl.Cache.getInstance(Cache.java:44)
at platform.server.core.general.system.service.cache.impl.CacheWithReusableCorrect.getInstance(CacheWithReusableCorrect.java:25)
at platform.server.core.general.protocol.impl.Protocol.newProtocolBuffer(Protocol.java:374)
at platform.server.core.general.redis.api.codec.RedisCodec.decodeStruct(RedisCodec.java:134)
at platform.server.core.general.redis.api.codec.RedisCodec.decode(RedisCodec.java:72)
at platform.server.core.general.redis.api.protocol.decoders.BinaryDecoder.decodeBinary(BinaryDecoder.java:64)
at platform.server.core.general.redis.api.protocol.decoders.BinaryDecoder.decode(BinaryDecoder.java:95)
at platform.server.core.general.redis.api.protocol.decoders.BlockDecoder.decode(BlockDecoder.java:40)
at platform.server.core.general.redis.api.protocol.ResultDecoder.decode(ResultDecoder.java:41)
at platform.server.core.general.redis.api.RedisConnection.decodeItem(RedisConnection.java:186)
at platform.server.core.general.redis.api.RedisConnection.readResult(RedisConnection.java:168)
at platform.server.core.general.redis.api.RedisConnection.call(RedisConnection.java:146)
at platform.server.core.general.redis.api.RedisConnection._doCommand(RedisConnection.java:114)
at platform.server.core.general.redis.api.RedisAPI.doCommand(RedisAPI.java:45)
at platform.server.core.general.redis.api.SelectorConnection.doCommand(SelectorConnection.java:131)
at platform.server.core.general.redis.api.RedisClient.map_hgetall(RedisClient.java:509)
at platform.server.core.general.statistics.charts.impl.ChartStorage.getCharts(ChartStorage.java:69)
at platform.server.core.general.statistics.charts.impl.ChartRegistryImpl.loadChartFromStorage(ChartRegistryImpl.java:40)
at platform.server.core.general.statistics.charts.impl.ChartRegistryImpl.<init>(ChartRegistryImpl.java:36)
at platform.server.core.general.statistics.osgi.Activator.start_plugin(Activator.java:47)
at platform.server.core.general.system.service.ServiceAccessor.start(ServiceAccessor.java:119)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:341)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:333)
at platform.equinox.runner.RunnerMojo.runOSGiFramework(RunnerMojo.java:207)
at platform.equinox.runner.RunnerMojo.execute(RunnerMojo.java:89)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
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:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
Caused by: javassist.CannotCompileException: by java.lang.NoClassDefFoundError: platform/server/core/general/protocol/ProtocolBuffer
at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:170)
at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:507)
... 58 more
Caused by: java.lang.NoClassDefFoundError: platform/server/core/general/protocol/ProtocolBuffer
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at javassist.util.proxy.FactoryHelper.toClass2(FactoryHelper.java:182)
at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:164)
... 59 more
Caused by: java.lang.ClassNotFoundException: platform.server.core.general.protocol.ProtocolBuffer
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 66 more
org.osgi.framework.BundleException: Exception in platform.server.core.general.statistics.osgi.Activator.start() of bundle platform.server.core.general.Statistics.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:341)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:333)
at platform.equinox.runner.RunnerMojo.runOSGiFramework(RunnerMojo.java:207)
at platform.equinox.runner.RunnerMojo.execute(RunnerMojo.java:89)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
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:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: by java.lang.NoClassDefFoundError: platform/server/core/general/protocol/ProtocolBuffer
at platform.server.core.general.system.service.cache.impl.checker.CacheReusableCheckerBuilderImpl.buildChecker(CacheReusableCheckerBuilderImpl.java:103)
at platform.server.core.general.system.service.cache.impl.CacheWithReusableCorrect.newInstance(CacheWithReusableCorrect.java:19)
at platform.server.core.general.system.service.cache.impl.Cache.getInstance(Cache.java:44)
at platform.server.core.general.system.service.cache.impl.CacheWithReusableCorrect.getInstance(CacheWithReusableCorrect.java:25)
at platform.server.core.general.protocol.impl.Protocol.newProtocolBuffer(Protocol.java:374)
at platform.server.core.general.redis.api.codec.RedisCodec.decodeStruct(RedisCodec.java:134)
at platform.server.core.general.redis.api.codec.RedisCodec.decode(RedisCodec.java:72)
at platform.server.core.general.redis.api.protocol.decoders.BinaryDecoder.decodeBinary(BinaryDecoder.java:64)
at platform.server.core.general.redis.api.protocol.decoders.BinaryDecoder.decode(BinaryDecoder.java:95)
at platform.server.core.general.redis.api.protocol.decoders.BlockDecoder.decode(BlockDecoder.java:40)
at platform.server.core.general.redis.api.protocol.ResultDecoder.decode(ResultDecoder.java:41)
at platform.server.core.general.redis.api.RedisConnection.decodeItem(RedisConnection.java:186)
at platform.server.core.general.redis.api.RedisConnection.readResult(RedisConnection.java:168)
at platform.server.core.general.redis.api.RedisConnection.call(RedisConnection.java:146)
at platform.server.core.general.redis.api.RedisConnection._doCommand(RedisConnection.java:114)
at platform.server.core.general.redis.api.RedisAPI.doCommand(RedisAPI.java:45)
at platform.server.core.general.redis.api.SelectorConnection.doCommand(SelectorConnection.java:131)
at platform.server.core.general.redis.api.RedisClient.map_hgetall(RedisClient.java:509)
at platform.server.core.general.statistics.charts.impl.ChartStorage.getCharts(ChartStorage.java:69)
at platform.server.core.general.statistics.charts.impl.ChartRegistryImpl.loadChartFromStorage(ChartRegistryImpl.java:40)
at platform.server.core.general.statistics.charts.impl.ChartRegistryImpl.<init>(ChartRegistryImpl.java:36)
at platform.server.core.general.statistics.osgi.Activator.start_plugin(Activator.java:47)
at platform.server.core.general.system.service.ServiceAccessor.start(ServiceAccessor.java:119)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
... 28 more
Caused by: java.lang.RuntimeException: by java.lang.NoClassDefFoundError: platform/server/core/general/protocol/ProtocolBuffer
at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:515)
at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:492)
at javassist.util.proxy.ProxyFactory.createClass1(ProxyFactory.java:428)
at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:400)
at platform.server.core.general.system.service.cache.impl.checker.CacheReusableCheckerBuilderImpl.createClass(CacheReusableCheckerBuilderImpl.java:110)
at platform.server.core.general.system.service.cache.impl.checker.CacheReusableCheckerBuilderImpl.buildChecker(CacheReusableCheckerBuilderImpl.java:55)
... 53 more
Caused by: javassist.CannotCompileException: by java.lang.NoClassDefFoundError: platform/server/core/general/protocol/ProtocolBuffer
at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:170)
at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:507)
... 58 more
Caused by: java.lang.NoClassDefFoundError: platform/server/core/general/protocol/ProtocolBuffer
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at javassist.util.proxy.FactoryHelper.toClass2(FactoryHelper.java:182)
at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:164)
... 59 more
Caused by: java.lang.ClassNotFoundException: platform.server.core.general.protocol.ProtocolBuffer
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 66 more
{noformat}
CacheReusableCheckerBuilderImpl.buildChecker
{code}
final Class<?> objectClass = object.getClass();
ProxyFactory proxyFactory = new ProxyFactory() {
@Override
protected ClassLoader getClassLoader() {
return CacheReusableCheckerBuilderImpl.class.getClassLoader();
}
};
proxyFactory.setSuperclass(objectClass);
List<Class> interfaces = new ArrayList<>();
interfaces.addAll(Arrays.asList(objectClass.getInterfaces()));
interfaces.add(CacheReusableChecker.class);
proxyFactory.setInterfaces(interfaces.toArray(new Class[interfaces.size()]));
Class<T> proxyFactoryClass = createClass(proxyFactory);
{code}
CacheReusableCheckerBuilderImpl.createClass
{code}
@SuppressWarnings("unchecked")
private <T> Class<T> createClass(ProxyFactory proxyFactory) {
return proxyFactory.createClass();
}
{code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months