jboss-tools

Token introspection considering token as not active

此生再无相见时 提交于 2020-06-17 03:27:49
问题 I've keycloak 4.0.0 installed on two debian stretch machines. Those are configured in standalone clustered mode. Both share a mysql cluster database instance and a load balancer is doing HA. I've a code which needs to validate tokens against introspection endpoint put it's not working half of the time. This is actually because load balancer is doing its job and consequently easy to reproduce: ask a token on /auth/realms//protocol/openid-connect/token on server 1 call introspection endpoint

Hibernate reverse engineering - mapping a table to Java enum

落爺英雄遲暮 提交于 2020-01-04 09:07:30
问题 I'm working on a project where I am using JBoss Tools to reverse engineer an MS SqlServer database into Hibernate objects. I am wondering if there is a way to map some of the tables in my schema to Java enums? Can this be configured in the hibernate.reveng.xml file? If so, do you have an example? Thanks! 回答1: This open issue indicates that enums are not supported by hibernate reveng. 来源: https://stackoverflow.com/questions/7679044/hibernate-reverse-engineering-mapping-a-table-to-java-enum

Annotation not created when generating Hibernate mapping files

时光毁灭记忆、已成空白 提交于 2020-01-02 08:11:23
问题 I am following this link to generate hibernate file https://www.mkyong.com/hibernate/how-to-generate-code-with-hibernate-tools/ the files are generated but without annotation. I checked the "generate EJB3 annotation " but still it is not working the DB is Postgres. I use to do it the same way and it was working fine.. few weeks ago I upgrade to eclipse to oxygen and change my workplace since then it is not working.. does any body know if there is a log file for the activity ? maybe I can find

java.rmi.MarshalException: Failed to communicate

自古美人都是妖i 提交于 2019-12-24 21:49:09
问题 I'm using jbossIDE Eclipse 1.6. when deploying my .ear app, I get a java.rmi.MarshalException. what's surprising is that just a few min ago, everything was OK. I feel like this jbossIDE Eclipse thing is really useless. it's crashing all the time. java.rmi.MarshalException: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is: java.io.InvalidClassException: com.afrikbrain.util.message.MessageInfo; local class incompatible: stream classdesc serialVersionUID =

Creating own scaffold plugin: metawidget resource loading exception only when run within forge console

拥有回忆 提交于 2019-12-24 20:23:27
问题 I try to rebuild a scaffold faces plugin separately for some reasons, but found a really annoying bug, that I cannot solve. java.lang.NoSuchMethodException: class org.metawidget.inspector.impl.BaseObjectInspectorConfig.setPropertyStyle(ForgePropertyStyle). Did you mean setPropertyStyle(PropertyStyle)? at org.metawidget.config.impl.BaseConfigReader$ConfigHandler.classGetMethod(BaseConfigReader.java:1633) After trying some tricks, review the metawidget config codes, not found how to solve the

JBoss JMS provider

笑着哭i 提交于 2019-12-23 04:28:35
问题 I need to write a Message Driven Bean. I'm using JBoss IDE 1.5. I understand the concept behind MDB's but I don't really know how to install the JMS provider (JBoss MQ? I think) and use it so that it will be used to broker my message to an MDB. does anyone know of a tutorial I can use ? 回答1: JBossMQ is the default JMS provider in JBoss 3.2.x and 4.x but is replaced by JBoss Messaging 1 in JBoss AS 5.0 (JBoss Messaging 1.x is the default JMS provider in JBoss AS version 5). Depending on the

Wildfly fails to deploy application (FileNotFoundException - Access is Denied)

僤鯓⒐⒋嵵緔 提交于 2019-12-18 05:46:11
问题 Wildfly 8.2.0.Final JDK 8 Update 60 Eclipse Mars Update 1 JBoss Tools 4.3.0.Final Windows 10 Recently I upgraded the following things: from Windows 7 to Windows 10 from Eclipse Mars to Eclipse Mars Update 1 from JBoss Tools 4.3.0.Beta1 to JBoss Tools 4.3.0.Final and now when I try to deploy my application in Eclipse it doesn't work anymore (sometimes it works, but most of the time it doesn't work). Everything was working fine before the upgrades, but now I get this stack trace when I deploy

Redeploy application after jsf managed bean modification

﹥>﹥吖頭↗ 提交于 2019-12-13 01:23:09
问题 Why is an application redeployment is needed for jsf managed bean modifications to take effect? Development environment: Eclipse Indigo. JBoss as 7. JBossAS Tools. Further explanation: If I modify a jsf page, I can visualize the modification after simply refreshing the page. But this is not the case for jsf managed bean modifications where I have to redeploy the application to visualize them. 回答1: Eclipse/JBoss cannot handle new classes, methods, nor fields during hotpublish/hotdeploy. They

JBoss tools for JSP: Make content assist work for Bootstrap “class” as in HTML Editor

痴心易碎 提交于 2019-12-11 13:31:01
问题 I am working in JBoss Tools editors for HTML and JSP pages in Eclipse Luna. One interesting thing I found about the different way these two editors work, is that some time they can auto-complete, but sometimes JBoss JSP editors fails. More precisely, when it comes to the "class" attribute which come with Bootstrap 3, the HTML editor works while JSP editor fails. Even though I can open the .jsp file with JBoss HTML editor, the problem persists. Is there some way to fix this?? They work

Hibernate Tools failing to get index info from Postgres tables

一笑奈何 提交于 2019-12-11 11:24:45
问题 I'm using Hibernate Tools with Ant to generate POJOs from a Postgres database. My database has two simple tables: Person and Vehicle. Each table has two columns: an id and a name When the Person POJO is being generated, Hibernate throws an exception when attempting to obtain index info: [hibernatetool] getIndexInfo(null.public.person) [hibernatetool] Exception while trying to get indexinfo on public.person=Exception while getting index info for public.person Despite this exception the Person