Quantcast
Channel: zeroturnaround.com » All Posts
Viewing all 2540 articles
Browse latest View live

Reply To: How to avoid duplication of resources?

$
0
0

I use:
– JRebel Agent 7.1.6 (201802050855).
– Spring Boot 2.0.0.RC1

This is the statement, that returns duplicated results:

applicationContext.getResources("classpath*:**/*.graphqls")

I can’t change it, because it is from sources of a library I use.


Reply To: How to avoid duplication of resources?

$
0
0

BTW, I setup everything according to instruction for Spring Boot 1.x:

IntelliJ IDEA – JRebel – Startup – Linux / 64-bit JVM / Spring Boot 1.x

Could it cause the problem? Or (hopefully) I’m just doing something wrong?

Reply To: jrebel password

$
0
0

We haven’t received an email with the logs so far so I’m assuming you were able to work out the configuration? Let us know if this is not the case.

If the connection only works without password then it means the “set-password” command did not run with the same .jrebel(REBEL_BASE) folder as the agent running on the server is using. The logs will help determine which folder was used in the server.

JRebel won't picking up Java classes

$
0
0

Hello,

I have a problem with JRebel and reloading Java classes.
My development environment looks like:
1. IDE: Netbeans 8.2
2. Standalone JRebel installation with Weblogic 12

When I manually starts Weblogic with “startWeblogic-jrebel.cmd” command, log looks like:

2018-02-17 12:28:42 JRebel:
2018-02-17 12:28:42 JRebel: ###################################################
##########
2018-02-17 12:28:42 JRebel:
2018-02-17 12:28:42 JRebel: JRebel Agent 7.1.6 (201802050855)
2018-02-17 12:28:42 JRebel: (c) Copyright ZeroTurnaround AS, Estonia, Tartu.
2018-02-17 12:28:42 JRebel:
2018-02-17 12:28:42 JRebel: Over the last 3 days JRebel prevented
2018-02-17 12:28:42 JRebel: at least 0 redeploys/restarts saving you about 0 ho
urs.
2018-02-17 12:28:42 JRebel:
2018-02-17 12:28:42 JRebel: Licensed to XXXXXXXXXXXXXXX
2018-02-17 12:28:42 JRebel:
2018-02-17 12:28:42 JRebel: License type: dedicated
2018-02-17 12:28:42 JRebel: Valid from: December 19, 2017
2018-02-17 12:28:42 JRebel: Valid until: December 22, 2018
2018-02-17 12:28:42 JRebel:
2018-02-17 12:28:42 JRebel:
2018-02-17 12:28:42 JRebel: ###################################################
##########
……
2018-02-17 12:28:53 JRebel: Directory ‘D:\Projekti\BELIZG\modules\Belizg\build\web\WEB-INF\classes’ will be monitored for changes.
2018-02-17 12:28:53 JRebel: Directory ‘D:\Projekti\BELIZG\modules\Belizg\web’ will be monitored for changes.
2018-02-17 12:28:53 JRebel: Directory ‘D:\Projekti\BELIZG\modules\Belizg\src\java’ will be monitored for changes.
…….

I build my web aplication in Netbeans and copy “war” to weblogic autdeploy folder.
When I do some changes in jspx files (in D:\Projekti\BELIZG\modules\Belizg\web\pages\),
JRebel correctly picked up those files and changes will be showen immediately on aplication gui.
But when I do some changes in java classes (D:\Projekti\BELIZG\modules\Belizg\src\java) I will get those massages:

INFO [Thread-150] NBProjectRemotingInstance – FS notification that a file changed: D:\Projekti\BELIZG\modules\Belizg\src\java\xxx\belizg\form\WoForm.java (fileModified)
ERROR [Thread-150] Logger – [Remote] Wrong call – module has no servers configured
ERROR [Thread-150] Logger – [Remote] Wrong call – module has no servers configured
INFO [Thread-150] NBProjectRemotingInstance – Can’t add D:\Projekti\BELIZG\modules\Belizg\src\java\xxx\belizg\form\WoForm.java (fileModified) to a transaction (jrebelEnabled=true, isTransactionable=false)

Now, my question is what I overlooked when setting up jRebel?

Thanks in advance.

Best regards, Marko

Reply To: JRebel won't picking up Java classes

$
0
0

Hey Marko,

It seems that you’ve enabled remoting for your project but are actually running WebLogic in the same machine. In such case isn’t needed. Remoting should be used when the IDE and server are actually running on different machines (or virtual machine).

Please edit your startup script (startWebLogic-jrebel.cmd) and remove -Drebel.remoting_plugin=true from VM arguments. You can read more about the standard standalone setup at http://manuals.zeroturnaround.com/jrebel/standalone/launch-from-command-line-jrebel-agent.html#weblogic-10-x-and-12-x

Let me know of your results!

Best,
Hannes

Reply To: JRebel won't picking up Java classes

$
0
0

Hello,

my startWebLogic-jrebel.cmd was created according to the instructions about standalone jrebel configuration on weblogic. It looks like:

@echo off
set REBEL_HOME=c:\jrebel
set JAVA_OPTIONS=-agentpath:c:\jrebel\lib\jrebel32.dll %JAVA_OPTIONS%
call “%~dp0\startWebLogic.cmd” %*

There is no Drebel.remoting_plugin=true parameter in it.

Have you any other advice?

Thank you for your rapid response!

Best regards, Marko

Reply To: JRebel won't picking up Java classes

$
0
0

Hello, Rebel Staff,

I solved my issue. Even though I’ve marked “compile on save” and “deploy on save”, Netbeans doesn’t rebuild my project and this is the reason whay jRebel does’t detect any changes.
When I rebuild the project manually, jRebel works perfectly.

Thanks!

ps. jRebel is the best “gadget” I’ve discovered in recent years! :)

Best regards, Marko

Reply To: JRebel won't picking up Java classes

$
0
0

Hey,

Glad to hear that you got it resolved! Indeed JRebel operates on class files rather than Java source code. If you run into any other issues, just let us know!

Best,
Hannes


PID file location

$
0
0

Hi,

Is it possible to specify the location of the pidfile? Because I can’t see how to specify the pidfile location, I can’t run the licence server from a read-only filesystem, which is generally considered good practice. It would also be nice if I didn’t have to use symlinks to get around the same issue with the data and logs directories.

Thanks and best regards,
Pete

Where is the source for JRebel's project-template?

How does the "addClassChangeListener" work?

$
0
0

Can you provide more details on how exactly JRebel SDK is intended to pick up an “addClassChangeListener”?

The SDK example only provides a class called ReloadHelper, i.e. something like this:

public class ReloadHelper {

  public static void addClassChangeListener(PluginManager pluginManager, Class<?> configClass) throws Exception {
    // Class event listeners are called when a class is reloaded by JRebel.
    // You can order the reload listeners using the priority parameter in the constructor.
    ReloaderFactory.getInstance().addClassReloadListener(configClass, new ClassEventListenerAdapter(0) {
      @Override
      public void onClassEvent(int eventType, Class<?> klass) throws Exception {
        System.out.println("Need to reload plugin now.");
      }
    });
  }
}

But it appears the class is un-used. Does JRebel look through the plugin and find all static addClassChangeListener methods?

This should be updated on the docs, and you should apply comments to the SDK code explaining this and add suppress warnings for the “unused” too so as to avoid confusion.

Reply To: How does the "addClassChangeListener" work?

$
0
0

Hi Nicholas,

In the JRebel plugin demo the addClassChangeListener method is used in MemoryUsageServletCBP which instruments the init method to call it.
This is a somewhat typical pattern in JRebel plugin development as it’s best to avoid putting as much code in strings as possible when doing Javassist instrumentation. Delegating to a static method in a helper class is much less error prone than “stringly-typed-code” as we call it.

As you noticed this causes IDE-s to not realize where the class is used. To remedy this you can either explicitly declare the class every time it is used in a ClassBytecodeProcessor as follows:

ctClass.getDeclaredMethod("init").insertAfter("" +
    ReloadHelper.class.getName() + ".addRequestListener(this);" +
    ReloadHelper.class.getName() + ".addClassChangeListener(this, ApplicationConfiguration.class);");

Although this won’t help with “method is unused”, such helper classes explicitly comment that they are used within CBP-s so searching for class reference is enough.
This method can clutter the stringly code a bit so an alternative is to just declare it once in the ClassPool imports:

cp.importPackage(ReloadHelper.class.getName());
//...
ctClass.getDeclaredMethod("init").insertAfter("" +
    "ReloadHelper.addRequestListener(this);" +
    "ReloadHelper.addClassChangeListener(this, ApplicationConfiguration.class);");

Reply To: How does the "addClassChangeListener" work?

Reply To: Where is the source for JRebel's project-template?

$
0
0

this does not seem to exist. which is fine the project template is very minimal anyways.

it would be nice to have a github with plenty of examples

JRebel – IntelliJ – Gradle – certain java classes will not hot-deploy

$
0
0

I am using JRebel + Intellij JRebel IDE Plugin to hot deploy a gradle project.

I have a situation with JRebel where there are certain Java classes that JRebel refuses to allow me to hot-deploy.

Some classes reload fine.

Other classes do not reload at all. (often in the same gradle sub-project as classes that reload OK)

There is no rhyme or reason to why they do not want to reload.

It is making JRebel pretty much unusable.

I created a custom JRebel plugin for our project hoping it would help but it did not. Because the class itself will not trigger a reload event, the plugin fails to help fix this.

Note the class in question that will not reload is often an implementation of an interface where if I change the implementation, no reload happens. But if I change the interface java class, that will reload fine!

There is something that JRebel in particular does not like about the Java class files.

When I build the files that it won’t pick up, you can even see in the IDE and 100% of the time for these files I get a 0 classes reloaded message on my debug session:

can't reload


Reply To: JRebel – IntelliJ – Gradle – certain java classes will not hot-deploy

$
0
0

Note: We use Guice… but I don’t think that is necessarily why this is happening.

I have a file that fails to reload that isn’t a guice managed class as well.

IntelliJ-Plugin throws exception

$
0
0

Hi,

I have an issue with the latest version of the IntelliJ plugin. When I go the JRebel facet it throws this exception and I cannot change the facet settings anymore:

Argument for @NotNull parameter 'facet' of com/zeroturnaround/javarebel/idea/plugin/facet/tabs/TabController.loadStorageFromFacet must not be null
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'facet' of com/zeroturnaround/javarebel/idea/plugin/facet/tabs/TabController.loadStorageFromFacet must not be null
	at com.zeroturnaround.javarebel.idea.plugin.facet.tabs.TabController.loadStorageFromFacet(TabController.java)
	at com.zeroturnaround.javarebel.idea.plugin.facet.tabs.TabController.access$000(TabController.java:27)
	at com.zeroturnaround.javarebel.idea.plugin.facet.tabs.TabController$1.doInitStorage(TabController.java:41)
	at com.zeroturnaround.javarebel.idea.plugin.remoting.utils.PropStorage.init(PropStorage.java:53)
	at com.zeroturnaround.javarebel.idea.plugin.facet.tabs.TabController.<init>(TabController.java:48)
	at com.zeroturnaround.javarebel.idea.plugin.facet.JRebelFacetConfiguration.createEditorTabs(JRebelFacetConfiguration.java:54)
	at com.intellij.facet.impl.ui.FacetEditorImpl.<init>(FacetEditorImpl.java:59)
	at com.intellij.facet.impl.ProjectFacetsConfigurator.getOrCreateEditor(ProjectFacetsConfigurator.java:189)
	at com.intellij.openapi.roots.ui.configuration.projectRoot.FacetConfigurable.getEditor(FacetConfigurable.java:85)
	at com.intellij.openapi.roots.ui.configuration.projectRoot.FacetConfigurable.createOptionsPanel(FacetConfigurable.java:81)
	at com.intellij.openapi.ui.NamedConfigurable.createComponent(NamedConfigurable.java:89)
	at com.intellij.openapi.ui.MasterDetailsComponent.updateSelection(MasterDetailsComponent.java:616)
	at com.intellij.openapi.roots.ui.configuration.projectRoot.ModuleStructureConfigurable.updateSelection(ModuleStructureConfigurable.java:195)
	at com.intellij.openapi.ui.MasterDetailsComponent.setSelectedNode(MasterDetailsComponent.java:607)
	at com.intellij.openapi.roots.ui.configuration.projectRoot.BaseStructureConfigurable.a(BaseStructureConfigurable.java:107)
	at com.intellij.openapi.util.ActionCallback$ExecutedExecutionCallback.doWhenExecuted(ActionCallback.java:177)
	at com.intellij.openapi.util.ActionCallback.doWhenDone(ActionCallback.java:111)
	at com.intellij.openapi.roots.ui.configuration.projectRoot.BaseStructureConfigurable.navigateTo(BaseStructureConfigurable.java:106)
	at com.intellij.ui.navigation.Place.goFurther(Place.java:92)
	at com.intellij.openapi.roots.ui.configuration.ProjectStructureConfigurable.navigateTo(ProjectStructureConfigurable.java:569)
	at com.intellij.openapi.roots.ui.configuration.ProjectStructureConfigurable.select(ProjectStructureConfigurable.java:463)
	at com.intellij.facet.impl.ui.actions.AddFacetToModuleAction.actionPerformed(AddFacetToModuleAction.java:66)
	at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:220)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:237)
	at com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep.performAction(PopupFactoryImpl.java:908)
	at com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep.performAction(PopupFactoryImpl.java:898)
	at com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep.lambda$onChosen$0(PopupFactoryImpl.java:892)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:195)
	at com.intellij.ui.popup.AbstractPopup.lambda$dispose$7(AbstractPopup.java:1399)
	at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2832)
	at com.intellij.ide.IdeEventQueue.ifFocusEventsInTheQueue(IdeEventQueue.java:170)
	at com.intellij.ide.IdeEventQueue.executeWhenAllFocusEventsLeftTheQueue(IdeEventQueue.java:134)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:189)
	at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.doWhenFocusSettlesDown(IdeFocusManagerImpl.java:56)
	at com.intellij.ui.popup.AbstractPopup.dispose(AbstractPopup.java:1393)
	at com.intellij.ui.popup.WizardPopup.dispose(WizardPopup.java:160)
	at com.intellij.ui.popup.list.ListPopupImpl.dispose(ListPopupImpl.java:307)
	at com.intellij.openapi.util.Disposer$1.execute(Disposer.java:48)
	at com.intellij.openapi.util.Disposer$1.execute(Disposer.java:44)
	at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:138)
	at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:107)
	at com.intellij.openapi.util.objectTree.ObjectTree.executeActionWithRecursiveGuard(ObjectTree.java:169)
	at com.intellij.openapi.util.objectTree.ObjectNode.execute(ObjectNode.java:107)
	at com.intellij.openapi.util.objectTree.ObjectTree.executeAll(ObjectTree.java:144)
	at com.intellij.openapi.util.Disposer.dispose(Disposer.java:129)
	at com.intellij.openapi.util.Disposer.dispose(Disposer.java:125)
	at com.intellij.ui.popup.WizardPopup.disposeAllParents(WizardPopup.java:263)
	at com.intellij.ui.popup.list.ListPopupImpl.handleNextStep(ListPopupImpl.java:442)
	at com.intellij.ui.popup.list.ListPopupImpl._handleSelect(ListPopupImpl.java:396)
	at com.intellij.ui.popup.list.ListPopupImpl.handleSelect(ListPopupImpl.java:342)
	at com.intellij.ui.popup.list.ListPopupImpl$MyMouseListener.mouseReleased(ListPopupImpl.java:501)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
	at java.awt.Component.processMouseEvent(Component.java:6541)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3325)
	at com.intellij.ui.popup.list.ListPopupImpl$MyList.processMouseEvent(ListPopupImpl.java:552)
	at java.awt.Component.processEvent(Component.java:6306)
	at java.awt.Container.processEvent(Container.java:2237)
	at java.awt.Component.dispatchEventImpl(Component.java:4897)
	at java.awt.Container.dispatchEventImpl(Container.java:2295)
	at java.awt.Component.dispatchEvent(Component.java:4719)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
	at java.awt.Container.dispatchEventImpl(Container.java:2281)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4719)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
	at java.awt.EventQueue.access$500(EventQueue.java:98)
	at java.awt.EventQueue$3.run(EventQueue.java:715)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
	at java.awt.EventQueue$4.run(EventQueue.java:737)
	at java.awt.EventQueue$4.run(EventQueue.java:735)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:831)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:756)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:428)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
	at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
	at java.awt.Dialog.show(Dialog.java:1077)
	at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:694)
	at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:427)
	at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1678)
	at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1627)
	at com.intellij.ide.actions.ShowStructureSettingsAction.showDialog(ShowStructureSettingsAction.java:51)
	at com.intellij.ide.actions.ShowStructureSettingsAction.actionPerformed(ShowStructureSettingsAction.java:41)
	at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:220)
	at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
	at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:153)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:235)
	at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:193)
	at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:153)
	at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:357)
	at java.awt.Component.processEvent(Component.java:6306)
	at java.awt.Container.processEvent(Container.java:2237)
	at java.awt.Component.dispatchEventImpl(Component.java:4897)
	at java.awt.Container.dispatchEventImpl(Container.java:2295)
	at java.awt.Component.dispatchEvent(Component.java:4719)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
	at java.awt.Container.dispatchEventImpl(Container.java:2281)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4719)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
	at java.awt.EventQueue.access$500(EventQueue.java:98)
	at java.awt.EventQueue$3.run(EventQueue.java:715)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
	at java.awt.EventQueue$4.run(EventQueue.java:737)
	at java.awt.EventQueue$4.run(EventQueue.java:735)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:831)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:756)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:428)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Plugin version: 7.1.6.

IntelliJ IDEA 2018.1 EAP (Ultimate Edition)
Build #IU-181.3741.2, built on February 13, 2018
JRE: 1.8.0_152-release-1136-b11 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.12.6

Reply To: PID file location

$
0
0

Hi Pete,

So there are two ways that you can handle this situation.

1. You can opt to ignore the license-server.sh script altogether and instead start the license server with the command “java -jar /PATH/TO/LICENSE/SERVER/lib/license-server.jar”. When manually starting the license server in this way the PID file, logs, and data will be created in the current active directory.

2.You can set the location where the PID file will be generated either via the JVM argument ‘-Dpidfile.path=/NEW/PATH/ls.pid’ or via the license server properties file using the flag ‘pidfile.path=/NEW/PATH/ls.pid’. (If needed you can also set the log and data directory in a similar fashion using ‘rebel.ls.logDir=PATH/TO/LOGS/DIR/’ and ‘rebel.ls.dataDir=/PATH/TO/DATA/DIR’.

Let me know if these options work for you.

One other thing worth mentioning is that we now have a hosted licensing model that you can migrate to free of charge. This removes the strain of your team having to upkeep the on premise license server. If you are interested you can find more information here.

Colton

Reply To: How to avoid duplication of resources?

$
0
0

For future reference the issue is fixed in nightly build and fix is included in upcoming JRebel 7.1.7.

Unable to run Spring Boot 2.0.0.RC2 with jrebel 7.1.6

$
0
0

The application dies with the following:

2018-02-22 14:35:19,339 INFO [io.undertow.servlet] (ServerService Thread Pool — 92) 2 Spring WebApplicationInitializers detected on classpath
2018-02-22 14:35:20,617 ERROR [stderr] (ServerService Thread Pool — 92) 2018-02-22 14:35:20 JRebel: ERROR Class ‘org.springframework.boot.env.PropertiesPropertySourceLoader’ could not be processed by org.zeroturnaround.javarebel.integration.spring.boot.cbp.PropertiesPropertySourceLoaderCBP@org.jboss.modules.ModuleClassLoader@561820b3: org.zeroturnaround.bundled.javassist.CannotCompileException: [source error] no such field: profile

2018-02-22 14:35:20,617 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.expr.MethodCall.replace(SourceFile:241)

2018-02-22 14:35:20,618 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.javarebel.integration.spring.boot.cbp.PropertiesPropertySourceLoaderCBP$1.edit(PropertiesPropertySourceLoaderCBP.java:42)

2018-02-22 14:35:20,618 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.expr.ExprEditor.loopBody(SourceFile:224)

2018-02-22 14:35:20,619 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.expr.ExprEditor.doit(SourceFile:91)

2018-02-22 14:35:20,619 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.CtBehavior.instrument(SourceFile:712)

2018-02-22 14:35:20,619 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.javarebel.integration.spring.boot.cbp.PropertiesPropertySourceLoaderCBP.process(PropertiesPropertySourceLoaderCBP.java:39)

2018-02-22 14:35:20,620 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor.process(SourceFile:97)

2018-02-22 14:35:20,620 ERROR [stderr] (ServerService Thread Pool — 92) at com.zeroturnaround.javarebel.vj.a(SourceFile:359)

2018-02-22 14:35:20,621 ERROR [stderr] (ServerService Thread Pool — 92) at com.zeroturnaround.javarebel.vj.a(SourceFile:348)

2018-02-22 14:35:20,621 ERROR [stderr] (ServerService Thread Pool — 92) at com.zeroturnaround.javarebel.vj.a(SourceFile:316)

2018-02-22 14:35:20,621 ERROR [stderr] (ServerService Thread Pool — 92) at com.zeroturnaround.javarebel.SDKIntegrationImpl.runBytecodeProcessors(SourceFile:45)

2018-02-22 14:35:20,622 ERROR [stderr] (ServerService Thread Pool — 92) at com.zeroturnaround.javarebel.sr.transform(SourceFile:107)

2018-02-22 14:35:20,622 ERROR [stderr] (ServerService Thread Pool — 92) at java.lang.ClassLoader.defineClass(ClassLoader.java)

2018-02-22 14:35:20,622 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:358)

2018-02-22 14:35:20,623 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:437)

2018-02-22 14:35:20,623 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)

2018-02-22 14:35:20,623 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:78)

2018-02-22 14:35:20,624 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.Module.loadModuleClass(Module.java:606)

2018-02-22 14:35:20,624 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

2018-02-22 14:35:20,624 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)

2018-02-22 14:35:20,625 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)

2018-02-22 14:35:20,625 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)

2018-02-22 14:35:20,626 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.util.ClassUtils.forName(ClassUtils.java:264)

2018-02-22 14:35:20,627 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.core.io.support.SpringFactoriesLoader.instantiateFactory(SpringFactoriesLoader.java:153)

2018-02-22 14:35:20,627 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.core.io.support.SpringFactoriesLoader.loadFactories(SpringFactoriesLoader.java:101)

2018-02-22 14:35:20,627 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.<init>(ConfigFileApplicationListener.java:309)

2018-02-22 14:35:20,628 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.context.config.ConfigFileApplicationListener.addPropertySources(ConfigFileApplicationListener.java:205)

2018-02-22 14:35:20,628 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.context.config.ConfigFileApplicationListener.postProcessEnvironment(ConfigFileApplicationListener.java:188)

2018-02-22 14:35:20,629 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEnvironmentPreparedEvent(ConfigFileApplicationListener.java:175)

2018-02-22 14:35:20,629 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEvent(ConfigFileApplicationListener.java:161)

2018-02-22 14:35:20,629 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)

2018-02-22 14:35:20,630 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)

2018-02-22 14:35:20,630 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)

2018-02-22 14:35:20,631 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127)

2018-02-22 14:35:20,631 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:74)

2018-02-22 14:35:20,631 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54)

2018-02-22 14:35:20,632 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:351)

2018-02-22 14:35:20,632 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.SpringApplication.run(SpringApplication.java:317)

2018-02-22 14:35:20,633 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:155)

2018-02-22 14:35:20,633 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:135)

2018-02-22 14:35:20,634 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:87)

2018-02-22 14:35:20,634 ERROR [stderr] (ServerService Thread Pool — 92) at com.dezide.advisor.portal.spring.PortalWebApplicationInitializer.onStartup(PortalWebApplicationInitializer.java:26)

2018-02-22 14:35:20,634 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)

2018-02-22 14:35:20,636 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:186)

2018-02-22 14:35:20,636 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:171)

2018-02-22 14:35:20,637 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)

2018-02-22 14:35:20,637 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)

2018-02-22 14:35:20,637 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

2018-02-22 14:35:20,638 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

2018-02-22 14:35:20,638 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

2018-02-22 14:35:20,638 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

2018-02-22 14:35:20,639 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

2018-02-22 14:35:20,639 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

2018-02-22 14:35:20,640 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:234)

2018-02-22 14:35:20,640 ERROR [stderr] (ServerService Thread Pool — 92) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)

2018-02-22 14:35:20,641 ERROR [stderr] (ServerService Thread Pool — 92) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)

2018-02-22 14:35:20,641 ERROR [stderr] (ServerService Thread Pool — 92) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

2018-02-22 14:35:20,642 ERROR [stderr] (ServerService Thread Pool — 92) at java.util.concurrent.FutureTask.run(FutureTask.java:266)

2018-02-22 14:35:20,642 ERROR [stderr] (ServerService Thread Pool — 92) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

2018-02-22 14:35:20,642 ERROR [stderr] (ServerService Thread Pool — 92) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

2018-02-22 14:35:20,643 ERROR [stderr] (ServerService Thread Pool — 92) at java.lang.Thread.run(Thread.java:748)

2018-02-22 14:35:20,643 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.threads.JBossThread.run(JBossThread.java:320)

2018-02-22 14:35:20,644 ERROR [stderr] (ServerService Thread Pool — 92) Caused by: compile error: no such field: profile

2018-02-22 14:35:20,644 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.fieldAccess(SourceFile:845)

2018-02-22 14:35:20,646 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atFieldRead(SourceFile:803)

2018-02-22 14:35:20,646 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atMember(SourceFile:988)

2018-02-22 14:35:20,646 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.JvstTypeChecker.atMember(SourceFile:66)

2018-02-22 14:35:20,647 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.ast.Member.accept(SourceFile:39)

2018-02-22 14:35:20,647 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.JvstTypeChecker.atMethodArgs(SourceFile:221)

2018-02-22 14:35:20,647 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atMethodCallCore(SourceFile:735)

2018-02-22 14:35:20,648 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atNewExpr(SourceFile:149)

2018-02-22 14:35:20,648 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.ast.NewExpr.accept(SourceFile:73)

2018-02-22 14:35:20,649 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atVariableAssign(SourceFile:249)

2018-02-22 14:35:20,649 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atAssignExpr(SourceFile:218)

2018-02-22 14:35:20,650 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.ast.AssignExpr.accept(SourceFile:39)

2018-02-22 14:35:20,650 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.CodeGen.doTypeCheck(SourceFile:242)

2018-02-22 14:35:20,650 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:330)

2018-02-22 14:35:20,651 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)

2018-02-22 14:35:20,651 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.Javac.compileStmnt(SourceFile:567)

2018-02-22 14:35:20,651 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.expr.MethodCall.replace(SourceFile:235)

2018-02-22 14:35:20,652 ERROR [stderr] (ServerService Thread Pool — 92) … 61 more

2018-02-22 14:35:20,652 ERROR [stderr] (ServerService Thread Pool — 92)

2018-02-22 14:35:20,659 ERROR [stderr] (ServerService Thread Pool — 92) 2018-02-22 14:35:20 JRebel: ERROR Class ‘org.springframework.boot.env.YamlPropertySourceLoader’ could not be processed by org.zeroturnaround.javarebel.integration.spring.boot.cbp.YamlPropertySourceLoaderCBP@org.jboss.modules.ModuleClassLoader@561820b3: org.zeroturnaround.bundled.javassist.CannotCompileException: [source error] cannot find constructor org.springframework.boot.env.OriginTrackedYamlLoader(org.springframework.core.io.Resource,java.lang.String)

2018-02-22 14:35:20,660 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.CtNewMethod.make(SourceFile:79)

2018-02-22 14:35:20,661 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.CtNewMethod.make(SourceFile:45)

2018-02-22 14:35:20,661 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.javarebel.integration.spring.boot.cbp.YamlPropertySourceLoaderCBP.process(YamlPropertySourceLoaderCBP.java:30)

2018-02-22 14:35:20,662 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor.process(SourceFile:97)

2018-02-22 14:35:20,662 ERROR [stderr] (ServerService Thread Pool — 92) at com.zeroturnaround.javarebel.vj.a(SourceFile:359)

2018-02-22 14:35:20,663 ERROR [stderr] (ServerService Thread Pool — 92) at com.zeroturnaround.javarebel.vj.a(SourceFile:348)

2018-02-22 14:35:20,664 ERROR [stderr] (ServerService Thread Pool — 92) at com.zeroturnaround.javarebel.vj.a(SourceFile:316)

2018-02-22 14:35:20,665 ERROR [stderr] (ServerService Thread Pool — 92) at com.zeroturnaround.javarebel.SDKIntegrationImpl.runBytecodeProcessors(SourceFile:45)

2018-02-22 14:35:20,665 ERROR [stderr] (ServerService Thread Pool — 92) at com.zeroturnaround.javarebel.sr.transform(SourceFile:107)

2018-02-22 14:35:20,666 ERROR [stderr] (ServerService Thread Pool — 92) at java.lang.ClassLoader.defineClass(ClassLoader.java)

2018-02-22 14:35:20,666 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:358)

2018-02-22 14:35:20,667 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:437)

2018-02-22 14:35:20,667 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)

2018-02-22 14:35:20,667 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:78)

2018-02-22 14:35:20,668 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.Module.loadModuleClass(Module.java:606)

2018-02-22 14:35:20,668 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

2018-02-22 14:35:20,668 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)

2018-02-22 14:35:20,669 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)

2018-02-22 14:35:20,669 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)

2018-02-22 14:35:20,670 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.util.ClassUtils.forName(ClassUtils.java:264)

2018-02-22 14:35:20,670 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.core.io.support.SpringFactoriesLoader.instantiateFactory(SpringFactoriesLoader.java:153)

2018-02-22 14:35:20,670 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.core.io.support.SpringFactoriesLoader.loadFactories(SpringFactoriesLoader.java:101)

2018-02-22 14:35:20,671 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.<init>(ConfigFileApplicationListener.java:309)

2018-02-22 14:35:20,671 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.context.config.ConfigFileApplicationListener.addPropertySources(ConfigFileApplicationListener.java:205)

2018-02-22 14:35:20,673 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.context.config.ConfigFileApplicationListener.postProcessEnvironment(ConfigFileApplicationListener.java:188)

2018-02-22 14:35:20,674 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEnvironmentPreparedEvent(ConfigFileApplicationListener.java:175)

2018-02-22 14:35:20,674 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEvent(ConfigFileApplicationListener.java:161)

2018-02-22 14:35:20,675 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)

2018-02-22 14:35:20,676 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)

2018-02-22 14:35:20,676 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)

2018-02-22 14:35:20,677 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127)

2018-02-22 14:35:20,678 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:74)

2018-02-22 14:35:20,678 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54)

2018-02-22 14:35:20,679 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:351)

2018-02-22 14:35:20,679 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.SpringApplication.run(SpringApplication.java:317)

2018-02-22 14:35:20,679 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:155)

2018-02-22 14:35:20,680 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:135)

2018-02-22 14:35:20,680 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:87)

2018-02-22 14:35:20,681 ERROR [stderr] (ServerService Thread Pool — 92) at com.dezide.advisor.portal.spring.PortalWebApplicationInitializer.onStartup(PortalWebApplicationInitializer.java:26)

2018-02-22 14:35:20,682 ERROR [stderr] (ServerService Thread Pool — 92) at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)

2018-02-22 14:35:20,682 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:186)

2018-02-22 14:35:20,683 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:171)

2018-02-22 14:35:20,683 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)

2018-02-22 14:35:20,684 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)

2018-02-22 14:35:20,684 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

2018-02-22 14:35:20,685 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

2018-02-22 14:35:20,685 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

2018-02-22 14:35:20,685 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

2018-02-22 14:35:20,687 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

2018-02-22 14:35:20,688 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)

2018-02-22 14:35:20,688 ERROR [stderr] (ServerService Thread Pool — 92) at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:234)

2018-02-22 14:35:20,688 ERROR [stderr] (ServerService Thread Pool — 92) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)

2018-02-22 14:35:20,689 ERROR [stderr] (ServerService Thread Pool — 92) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)

2018-02-22 14:35:20,690 ERROR [stderr] (ServerService Thread Pool — 92) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

2018-02-22 14:35:20,691 ERROR [stderr] (ServerService Thread Pool — 92) at java.util.concurrent.FutureTask.run(FutureTask.java:266)

2018-02-22 14:35:20,691 ERROR [stderr] (ServerService Thread Pool — 92) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

2018-02-22 14:35:20,692 ERROR [stderr] (ServerService Thread Pool — 92) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

2018-02-22 14:35:20,692 ERROR [stderr] (ServerService Thread Pool — 92) at java.lang.Thread.run(Thread.java:748)

2018-02-22 14:35:20,693 ERROR [stderr] (ServerService Thread Pool — 92) at org.jboss.threads.JBossThread.run(JBossThread.java:320)

2018-02-22 14:35:20,693 ERROR [stderr] (ServerService Thread Pool — 92) Caused by: compile error: cannot find constructor org.springframework.boot.env.OriginTrackedYamlLoader(org.springframework.core.io.Resource,java.lang.String)

2018-02-22 14:35:20,694 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atMethodCallCore(SourceFile:749)

2018-02-22 14:35:20,694 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atNewExpr(SourceFile:149)

2018-02-22 14:35:20,695 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.ast.NewExpr.accept(SourceFile:73)

2018-02-22 14:35:20,695 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atCallExpr(SourceFile:665)

2018-02-22 14:35:20,696 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.JvstTypeChecker.atCallExpr(SourceFile:157)

2018-02-22 14:35:20,696 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.ast.CallExpr.accept(SourceFile:46)

2018-02-22 14:35:20,697 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.CodeGen.doTypeCheck(SourceFile:242)

2018-02-22 14:35:20,697 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.CodeGen.compileExpr(SourceFile:229)

2018-02-22 14:35:20,697 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atReturnStmnt2(SourceFile:615)

2018-02-22 14:35:20,698 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.JvstCodeGen.atReturnStmnt(SourceFile:424)

2018-02-22 14:35:20,699 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:363)

2018-02-22 14:35:20,700 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)

2018-02-22 14:35:20,701 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:351)

2018-02-22 14:35:20,701 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)

2018-02-22 14:35:20,702 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atMethodBody(SourceFile:292)

2018-02-22 14:35:20,702 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atMethodDecl(SourceFile:274)

2018-02-22 14:35:20,703 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.ast.MethodDecl.accept(SourceFile:44)

2018-02-22 14:35:20,703 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.Javac.compileMethod(SourceFile:169)

2018-02-22 14:35:20,703 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.compiler.Javac.compile(SourceFile:95)

2018-02-22 14:35:20,704 ERROR [stderr] (ServerService Thread Pool — 92) at org.zeroturnaround.bundled.javassist.CtNewMethod.make(SourceFile:74)

2018-02-22 14:35:20,704 ERROR [stderr] (ServerService Thread Pool — 92) … 58 more

2018-02-22 14:35:20,704 ERROR [stderr] (ServerService Thread Pool — 92)

2018-02-22 14:35:21,107 INFO [stdout] (ServerService Thread Pool — 92)

  • This topic was modified 1 hour, 47 minutes ago by  Chris Poulsen.
Viewing all 2540 articles
Browse latest View live