Issue deploying application to Weblogic, it works in eclipse

Answered

Hi, i am having trouble getting the latest app (we are customizing for customers) deployed using IntelliJ at work.

Previous versions worked, but they have refactored a lot...

 

Application server is WebLogic Server Version: 12.2.1.2.0. The application has to be deployed as exploded archive.

 

Deployment works through eclipse, though i am using a SDK for the application and cannot tell what has been altered to make it work.

Deployment by means of Weblogic console (selecting the war file built by mvn clean install) works.

Deployment by means of IntelliJ as autodeploy works once, then it errors out on next server launch. But i would like the Weblogic Deployer...

 

This is what happens when i try to deploy the exploded archive through IntelliJ using the Weblogic Deployer:

 

INFO Deployer - Module xxx-war of application xxx-war_war_exploded successfully transitioned from STATE_PREPARED to STATE_NEW on server AdminServer. <LogContext:none> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'>
ERROR Deployer - Failure occurred in the execution of deployment request with ID "17029968169849" for task "0" on [partition-name: DOMAIN]. Error is: "weblogic.application.ModuleException: javax.management.InstanceNotFoundException: com.bea:ServerRuntime=AdminServer,Name=xxx-war,Type=ApplicationRuntime" <LogContext:none> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'>
weblogic.application.ModuleException: javax.management.InstanceNotFoundException: com.bea:ServerRuntime=AdminServer,Name=xxx-war,Type=ApplicationRuntime
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
[...]
Caused by: javax.management.InstanceNotFoundException: com.bea:ServerRuntime=AdminServer,Name=xxx,Type=ApplicationRuntime
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.addNotificationListener(DefaultMBeanServerInterceptor.java:1185)
at com.sun.jmx.mbeanserver.JmxMBeanServer.addNotificationListener(JmxMBeanServer.java:839)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$24.run(WLSMBeanServerInterceptorBase.java:650)
at java.security.AccessController.doPrivileged(Native Method)

 

I have replaced the application name with "xxx" for reasons.

Is there some things i could try, you probably need more information to help. Thank you!

0
3 comments
Official comment

Does the real name (the one encoded as "xxx") contain anything which is not alphanumeric (`[a-zA-Z0-9]+`)? 

I have created youtrack https://youtrack.jetbrains.com/issue/IDEA-190661, so you can upload files privately.

Please see https://intellij-support.jetbrains.com/hc/en-us/articles/207241135 if you are not familiar with YouTrack.

Please upload there: 

- complete output from IDEA run console 

- .idea folder of your project 

- domain and admin server logs from `${DOMAIN_HOME}/servers/AdminServer/logs`

 

 

Hello,

Have you tried to restart IDE clearing all java processes? Could you please attach screenshot of your Run configuration and share idea.log (you could use our read-only FTP: https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems)?

0
Avatar
Permanently deleted user

Logfile which does not appear to contain interesting information:

 

2018-04-19 08:32:58,868 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2018-04-19 08:32:58,977 [ 109] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-181.4203.550, 26 Mar 2018 21:58)
2018-04-19 08:32:58,977 [ 109] INFO - #com.intellij.idea.Main - OS: Windows 7 (6.1, amd64)
2018-04-19 08:32:58,977 [ 109] INFO - #com.intellij.idea.Main - JRE: 1.8.0_152-release-1136-b20 (JetBrains s.r.o)
2018-04-19 08:32:58,977 [ 109] INFO - #com.intellij.idea.Main - JVM: 25.152-b20 (OpenJDK 64-Bit Server VM)
2018-04-19 08:32:58,977 [ 109] INFO - #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djb.vmOptionsFile=C:\Program Files\JetBrains\IntelliJ IDEA 2018.1\bin\idea64.exe.vmoptions -Didea.jre.check=true -Dide.native.launcher=true -Didea.paths.selector=IntelliJIdea2018.1 -XX:ErrorFile=C:\Users\myUser\java_error_in_idea_%p.log -XX:HeapDumpPath=C:\Users\myUser\java_error_in_idea.hprof
2018-04-19 08:32:58,977 [ 109] INFO - #com.intellij.idea.Main - ext: C:\Program Files\JetBrains\IntelliJ IDEA 2018.1\jre64\lib\ext: [access-bridge-64.jar, cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunmscapi.jar, sunpkcs11.jar, zipfs.jar]
2018-04-19 08:32:58,977 [ 109] INFO - #com.intellij.idea.Main - JNU charset: Cp1252
2018-04-19 08:32:59,008 [ 140] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 31 ms
2018-04-19 08:32:59,024 [ 156] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2018-04-19 08:32:59,617 [ 749] INFO - .intellij.idea.IdeaApplication - CPU cores: 4; ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool@31fbe9b3[Running, parallelism = 3, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]; factory: com.intellij.concurrency.IdeaForkJoinWorkerThreadFactory@6feae70c
2018-04-19 08:32:59,741 [ 873] INFO - #com.intellij.util.ui.JBUI - User scale factor: 1.25
2018-04-19 08:32:59,741 [ 873] INFO - #com.intellij.util.ui.JBUI - System scale factor: 1.25 (IDE-managed HiDPI)
2018-04-19 08:33:02,909 [ 4041] INFO - llij.ide.plugins.PluginManager - 133 plugins initialized in 2816 ms
2018-04-19 08:33:02,956 [ 4088] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), Android Support (10.3.0), AngularJS (181.4203.550), Ant Support (1.0), Application Servers View (0.2.0), AspectJ Support (1.2), Bytecode Viewer (0.1), CFML Support (3.53), CSS Support (181.4203.550), CVS Integration (11), Cloud Foundry integration (1.0), CloudBees integration (1.0), CoffeeScript (181.4203.550), Copyright (8.1), Coverage (181.4203.550), Cucumber for Groovy (181.4203.550), Cucumber for Java (181.4203.550), DSM Analysis (1.0.0), Database Tools and SQL (181.4203.550), Eclipse Integration (3.0), EditorConfig (181.4203.550), Emma (181.4203.550), Flash/Flex Support (181.4203.550), FreeMarker support (1.0), GWT Support (1.0), Geronimo Integration (1.0), Gherkin (999.999), Git Integration (8.1), GitHub (181.4203.550), GlassFish Integration (1.0), Google App Engine Integration (1.1.4), Gradle (181.4203.550), Grails (9.0), Groovy (9.0), Guice (8.0), HTML Tools (2.0), HTTP Client (181.4203.550), Haml (181.4203.550), Heroku integration (181.4203.550), Hibernate Support (1.0), I18n for Java (181.4203.550), IDE Settings Sync (181.4203.550), IDEA CORE (181.4203.550), IntelliLang (8.0), J2ME (1.0), JBoss Arquillian Support (1.0), JBoss Drools Support (1.0), JBoss Frameworks Base Support (1.0), JBoss Integration (1.0), JBoss Seam Pageflow Support (1.0), JBoss Seam Pages Support (1.0), JBoss Seam Support (1.0), JBoss jBPM (2.0.0), JSR45 Integration (1.0), JUnit (1.0), Java Bytecode Decompiler (181.4203.550), Java EE: Batch Applications (1.0), Java EE: Bean Validation Support (1.1), Java EE: Contexts and Dependency Injection (1.1), Java EE: EJB, JPA, Servlets (1.0), Java EE: JMS, JSON Processing, Concurrency, Transaction (1.0), Java EE: Java Server Faces (2.2.X.), Java EE: RESTful Web Services (JAX-RS) (1.0), Java EE: Web Services (JAX-WS) (1.9), Java EE: WebSockets (1.0), Java Server Pages (JSP) Integration (1.0), Java Stream Debugger (181.4203.550), JavaFX (1.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Jetty Integration (1.0), Kotlin (1.2.30-release-IJ2018.1-1), Less support (181.4203.550), Markdown support (181.4203.550), Maven Integration (181.4203.550), Maven Integration Extension (181.4203.550), Mercurial Integration (10.0), OpenShift integration (1.0), Osmorc (1.4.11), Perforce Integration (2.0), Persistence Frameworks Support (1.0), Playframework Support (1.0), Plugin DevKit (1.0), Properties Support (181.4203.550), QuirksMode (181.4203.550), Reactor framework support (1.0), Refactor-X (2.01), Remote Hosts Access (0.1), Resin Integration (8.1), SSH Remote Run (0.1), Sass support (181.4203.550), Settings Repository (181.4203.550), Smali Support (1.0), Spring AOP/@AspectJ (1.0), Spring Batch (1.0), Spring Boot (1.0), Spring Data (1.0), Spring Integration Patterns (1.0), Spring MVC (1.0), Spring OSGi (1.0), Spring Security (1.0), Spring Support (1.0), Spring Web Flow (1.0), Spring Web Services (1.0), Spring WebSocket (1.0), Spy-js (181.4203.550), Struts 1.x (2.0), Struts 2 (1.0), Stylus support (999.999), Subversion Integration (1.1), TFS Integration (999.999), Tapestry support (1.0), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), Thymeleaf (1.0), Time Tracking (1.0), Tomcat and TomEE Integration (1.0), UI Designer (181.4203.550), UML Support (1.0), Vaadin Support (1.0), Velocity support (1.0), W3C Validators (2.0), WebLogic Integration (1.0), WebSphere Integration (1.0), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML (181.4203.550), ZKM-Unscramble (1.0), dmServer Support (0.9.5), tslint (181.4203.550)
2018-04-19 08:33:02,956 [ 4088] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: Eclipse Code Formatter (17.2.132.637.0.Eclipse_4.7)
2018-04-19 08:33:07,589 [ 8721] INFO - cloudConfig.CloudConfigManager - === Start.updateInitStatus ===
2018-04-19 08:33:07,589 [ 8721] INFO - cloudConfig.CloudConfigManager - === Start: JBA_NOT_CONNECTED ===
2018-04-19 08:33:07,589 [ 8721] INFO - cloudConfig.CloudConfigManager - === calculateInitStatus ===
2018-04-19 08:33:07,698 [ 8830] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2018-04-19 08:33:07,745 [ 8877] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=705
2018-04-19 08:33:07,947 [ 9079] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: C:\Program Files\JetBrains\IntelliJ IDEA 2018.1\bin\fsnotifier64.exe
2018-04-19 08:33:07,963 [ 9095] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2018-04-19 08:33:08,291 [ 9423] INFO - .cloudConfig.CloudConfigClient - === Get cloud config URL: https://cloudconfig.jetbrains.com/cloudconfig/files ===
2018-04-19 08:33:08,478 [ 9610] INFO - cloudConfig.CloudConfigManager - === calculateInitStatus.value: JBA_NOT_CONNECTED ===
2018-04-19 08:33:08,946 [ 10078] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=15, fontScale=1.25; restored: fontSize=15, fontScale=1.25
2018-04-19 08:33:09,086 [ 10218] WARN - nSystem.impl.ActionManagerImpl - keymap "Xcode" not found [Plugin: Git4Idea]
2018-04-19 08:33:09,148 [ 10280] WARN - nSystem.impl.ActionManagerImpl - keymap "Xcode" not found [Plugin: hg4idea]
2018-04-19 08:33:09,477 [ 10609] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2018-04-19 08:33:09,555 [ 10687] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.OptionsTopHitProvider$Activity@70b04b74
2018-04-19 08:33:09,556 [ 10688] INFO - gs.impl.UpdateCheckerComponent - channel: release
2018-04-19 08:33:09,872 [ 11004] INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:244, number of extensions:74
2018-04-19 08:33:09,888 [ 11020] INFO - il.indexing.FileBasedIndexImpl - Index scheduled:7
2018-04-19 08:33:09,931 [ 11063] INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:56, number of extensions:109
2018-04-19 08:33:09,931 [ 11063] INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:1
2018-04-19 08:33:10,699 [ 11831] INFO - plication.impl.ApplicationImpl - 102 application components initialized in 10606ms
2018-04-19 08:33:10,752 [ 11884] INFO - .intellij.idea.IdeaApplication - App initialization took 12835 ms
2018-04-19 08:33:12,610 [ 13742] INFO - pl$FileIndexDataInitialization - Initialization done:2716
2018-04-19 08:33:13,016 [ 14148] INFO - exImpl$StubIndexInitialization - Initialization done:407
2018-04-19 08:33:13,340 [ 14472] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=1.0; restored: fontSize=15, fontScale=1.25
2018-04-19 08:33:13,341 [ 14473] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=15, fontScale=1.25; restored: fontSize=15, fontScale=1.25
2018-04-19 08:33:13,835 [ 14967] INFO - CompilerWorkspaceConfiguration - Available processors: 4
2018-04-19 08:33:13,851 [ 14983] INFO - pl.projectlevelman.NewMappings - VCS Root: [] - [<Project>]
2018-04-19 08:33:13,851 [ 14983] INFO - pl.projectlevelman.NewMappings - VCS Root: [svn] - [C:/DEV/project]
2018-04-19 08:33:14,927 [ 16059] INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader@690c047b
2018-04-19 08:33:16,050 [ 17182] INFO - ellij.project.impl.ProjectImpl - 182 project components initialized in 4314 ms
2018-04-19 08:33:18,007 [ 19139] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader@21a5b3c7
2018-04-19 08:33:19,199 [ 20331] INFO - le.impl.ModuleManagerComponent - 8 module(s) loaded in 3149 ms
2018-04-19 08:33:19,292 [ 20424] INFO - .openapi.application.Preloader - Finished preloading com.intellij.codeInsight.completion.CompletionPreloader@27adfa87
2018-04-19 08:33:19,309 [ 20441] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.actions.GotoClassPresentationUpdater@7727de6a
2018-04-19 08:33:19,621 [ 20753] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2018-04-19 08:33:19,761 [ 20893] WARN - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.
2018-04-19 08:33:21,698 [ 22830] INFO - rojectCodeStyleSettingsManager - Initialized from default code style settings.
2018-04-19 08:33:21,900 [ 23032] INFO - ugin.ProjectCodeStyleInstaller - Overriding com.intellij.psi.impl.source.codeStyle.CodeStyleManagerImpl with krasa.formatter.plugin.EclipseCodeStyleManager_IJ_2016_3plus' for project 'project' using CGLIB proxy
2018-04-19 08:33:22,855 [ 23987] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files/JetBrains/IntelliJ IDEA 2018.1/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_162/lib/tools.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1/lib/optimizedFileManager.jar
2018-04-19 08:33:22,980 [ 24112] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2018-04-19 08:33:22,980 [ 24112] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Defaulting to no-operation (NOP) logger implementation
2018-04-19 08:33:22,980 [ 24112] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2018-04-19 08:33:23,026 [ 24158] INFO - ellij.project.impl.ProjectImpl - 20 project components initialized in 31 ms
2018-04-19 08:33:23,682 [ 24814] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 578ms; general responsiveness: ok; EDT responsiveness: ok
2018-04-19 08:33:29,813 [ 30945] INFO - tartup.impl.StartupManagerImpl - OpenFilesActivity run in 6662ms under project opening modal progress
2018-04-19 08:33:29,953 [ 31085] INFO - ge.ExternalProjectsDataStorage - Loaded external projects data in 0 millis
2018-04-19 08:33:30,627 [ 31759] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files/JetBrains/IntelliJ IDEA 2018.1/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_162/lib/tools.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1/lib/optimizedFileManager.jar
2018-04-19 08:33:30,643 [ 31775] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2018-04-19 08:33:30,643 [ 31775] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Defaulting to no-operation (NOP) logger implementation
2018-04-19 08:33:30,643 [ 31775] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2018-04-19 08:33:30,705 [ 31837] INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 7975ms; general responsiveness: 1/8 sluggish; EDT responsiveness: 1/7 sluggish, 4/7 very slow
2018-04-19 08:33:31,782 [ 32914] INFO - cloudConfig.CloudConfigManager - === StatusBar.update create ===
2018-04-19 08:33:31,782 [ 32914] INFO - cloudConfig.CloudConfigManager - === End.updateInitStatus ===
2018-04-19 08:33:33,014 [ 34146] INFO - j.ide.ui.OptionsTopHitProvider - 732 ms spent to cache options in application
2018-04-19 08:33:33,341 [ 34473] INFO - tartup.impl.StartupManagerImpl - C:/DEV/project/.idea case-sensitivity: expected=false actual=false
2018-04-19 08:33:33,778 [ 34910] INFO - s.CompilerReferenceServiceImpl - backward reference index reader is opened
2018-04-19 08:33:35,027 [ 36159] INFO - pl.projectlevelman.NewMappings - VCS Root: [svn] - [C:/DEV/project]
2018-04-19 08:33:40,806 [ 41938] INFO - tor.impl.FileEditorManagerImpl - Project opening took 29225 ms
2018-04-19 08:33:43,086 [ 44218] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 19389ms; general responsiveness: 4/18 sluggish; EDT responsiveness: 3/18 sluggish, 14/18 very slow
2018-04-19 08:33:44,931 [ 46063] INFO - tartup.impl.StartupManagerImpl - Some post-startup activities freeze UI for noticeable time. Please consider making them DumbAware to do them in background under modal progress, or just making them faster to speed up project opening.
2018-04-19 08:33:44,931 [ 46063] INFO - tartup.impl.StartupManagerImpl - ProjectInspectionProfileStartUpActivity run in 405ms on UI thread
2018-04-19 08:33:44,978 [ 46110] INFO - cloudConfig.CloudConfigManager - === StatusBar.start another widget: com.intellij.cloudConfig.StatusBarInfoManager$InfoComponent@64047d0 ===
2018-04-19 08:33:46,413 [ 47545] INFO - j.ide.ui.OptionsTopHitProvider - 703 ms spent to cache options in project

2018-04-19 08:33:48,422 [ 49554] INFO - ScriptTemplatesProviders - [kts] loading script definitions [] using cp:

 

 

 

 

 

 

0

Please sign in to leave a comment.