struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4920) Could not create JarEntryRevision for [zip:C:/.... unknown protocol c
Date Tue, 20 Feb 2018 08:33:00 GMT

    [ https://issues.apache.org/jira/browse/WW-4920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369807#comment-16369807
] 

ASF GitHub Bot commented on WW-4920:
------------------------------------

yasserzamani closed pull request #209: WW-4920 fix java.net.JarURLConnection#parseSpecs
URL: https://github.com/apache/struts/pull/209
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/core/src/main/java/com/opensymphony/xwork2/util/fs/JarEntryRevision.java b/core/src/main/java/com/opensymphony/xwork2/util/fs/JarEntryRevision.java
index dc5f0a757..a0fea58c4 100644
--- a/core/src/main/java/com/opensymphony/xwork2/util/fs/JarEntryRevision.java
+++ b/core/src/main/java/com/opensymphony/xwork2/util/fs/JarEntryRevision.java
@@ -37,7 +37,7 @@
     private long lastModified;
 
     public static Revision build(URL fileUrl, FileManager fileManager) {
-        JarURLConnection conn = null;
+        StrutsJarURLConnection conn = null;
         try {
             conn = StrutsJarURLConnection.openConnection(fileUrl);
             conn.setUseCaches(false);
@@ -70,7 +70,7 @@ private JarEntryRevision(URL jarFileURL, long lastModified) {
     }
 
     public boolean needsReloading() {
-        JarURLConnection conn = null;
+        StrutsJarURLConnection conn = null;
         long lastLastModified = lastModified;
         try {
             conn = StrutsJarURLConnection.openConnection(jarFileURL);
diff --git a/core/src/main/java/com/opensymphony/xwork2/util/fs/StrutsJarURLConnection.java
b/core/src/main/java/com/opensymphony/xwork2/util/fs/StrutsJarURLConnection.java
index 8c1b71a79..44a376aaf 100644
--- a/core/src/main/java/com/opensymphony/xwork2/util/fs/StrutsJarURLConnection.java
+++ b/core/src/main/java/com/opensymphony/xwork2/util/fs/StrutsJarURLConnection.java
@@ -20,34 +20,89 @@
 
 import java.io.IOException;
 import java.io.InputStream;
+import java.io.UnsupportedEncodingException;
 import java.net.JarURLConnection;
 import java.net.MalformedURLException;
 import java.net.URL;
 import java.net.URLConnection;
+import java.net.URLDecoder;
 import java.nio.file.Files;
 import java.nio.file.Path;
 import java.nio.file.StandardCopyOption;
 import java.security.AccessController;
 import java.security.PrivilegedActionException;
 import java.security.PrivilegedExceptionAction;
+import java.util.jar.JarEntry;
 import java.util.jar.JarFile;
 
 /**
- * WW-4901 Decouples from underlying implementation of {@link URL#openConnection()}
+ * WW-4901 If was needed, decouples from underlying implementation of {@link URL#openConnection()}
  * e.g. from IBM WebSphere com.ibm.ws.classloader.Handler$ClassLoaderURLConnection
+ * WW-4920 Also decouples from and fixes {@link JarURLConnection#parseSpecs(URL)} if was
needed
+ * e.g. from Oracle WebLogic which may report jar urls like "zip:C:/web-app-lib-path/some-jar.jar"
+ * but {@link JarURLConnection#parseSpecs(URL)} breaks on such urls
+ * While {@link JarURLConnection#parseSpecs(URL)} is private, then we had to extend {@link
URLConnection} instead
  * @since 2.5.15
  */
-class StrutsJarURLConnection extends JarURLConnection {
+class StrutsJarURLConnection extends URLConnection {
+    private static final String FILE_URL_PREFIX = "file:";
+
+    private JarURLConnection jarURLConnection;
+
     private JarFile jarFile;
+    private String entryName;
+    private URL jarFileURL;
 
-    private StrutsJarURLConnection(URL url) throws MalformedURLException {
+    private StrutsJarURLConnection(URL url) throws IOException {
         super(url);
+
+        URLConnection conn = this.url.openConnection();
+        if (conn instanceof JarURLConnection) {//decoupling is not needed?
+            jarURLConnection = (JarURLConnection) conn;
+        } else {
+            try {
+                conn.getInputStream().close();
+            } catch (IOException ignored) {
+            }
+            parseSpecs(url);
+        }
     }
 
-    @Override
-    public JarFile getJarFile() throws IOException {
-        connect();
-        return jarFile;
+    /**
+    * A fixed copy of {@link JarURLConnection#parseSpecs(URL)}
+    */
+    private void parseSpecs(URL url) throws MalformedURLException, UnsupportedEncodingException
{
+        String spec = url.getFile();
+
+        int separator = spec.indexOf("!/");
+        /*
+         * REMIND: we don't handle nested JAR URLs
+         */
+        if (separator == -1) {
+            throw new MalformedURLException("no !/ found in url spec:" + spec);
+        }
+
+        // start of fixing JarURLConnection#parseSpecs(URL) via handling MalformedURLException
+        String jarFileSpec = spec.substring(0, separator++);
+        try {
+            jarFileURL = new URL(jarFileSpec);
+        } catch (MalformedURLException e) {
+            // Probably no protocol in original jar URL, like "jar:C:/mypath/myjar.jar".
+            // This usually indicates that the jar file resides in the file system.
+            if (!jarFileSpec.startsWith("/")) {
+                jarFileSpec = "/" + jarFileSpec;
+            }
+            jarFileURL = new URL(FILE_URL_PREFIX + jarFileSpec);
+        }
+        // end of fix
+
+        entryName = null;
+
+        /* if ! is the last letter of the innerURL, entryName is null */
+        if (++separator != spec.length()) {
+            entryName = spec.substring(separator, spec.length());
+            entryName = URLDecoder.decode (entryName, "UTF-8");
+        }
     }
 
     @Override
@@ -56,7 +111,12 @@ public void connect() throws IOException {
             return;
         }
 
-        try (final InputStream in = getJarFileURL().openConnection().getInputStream()) {
+        if (jarURLConnection != null) {
+            connected = true;
+            return;
+        }
+
+        try (final InputStream in = jarFileURL.openConnection().getInputStream()) {
             jarFile = AccessController.doPrivileged(
                     new PrivilegedExceptionAction<JarFile>() {
                         public JarFile run() throws IOException {
@@ -84,19 +144,34 @@ public JarFile run() throws IOException {
         }
     }
 
+    JarEntry getJarEntry() throws IOException {
+        if (jarURLConnection != null) {
+            return jarURLConnection.getJarEntry();
+        } else {
+            connect();
+            return jarFile.getJarEntry(entryName);
+        }
+    }
+
+    @Override
+    public void setUseCaches(boolean usecaches) {
+        super.setUseCaches(usecaches);
+
+        if (jarURLConnection != null) {
+            jarURLConnection.setUseCaches(usecaches);
+        }
+    }
 
-    static JarURLConnection openConnection(URL url) throws IOException {
-        URLConnection conn = url.openConnection();
-        if (conn instanceof JarURLConnection) {
-            return (JarURLConnection) conn;
+    @Override
+    public InputStream getInputStream() throws IOException {
+        if (jarURLConnection != null) {
+            return jarURLConnection.getInputStream();
         } else {
-            try {
-                conn.getInputStream().close();
-            } catch (IOException ignored) {
-            }
+            return jarFile.getInputStream(jarFile.getJarEntry(entryName));
         }
+    }
 
-        StrutsJarURLConnection result = new StrutsJarURLConnection(url);
-        return result;
+    static StrutsJarURLConnection openConnection(URL url) throws IOException {
+        return new StrutsJarURLConnection(url);
     }
 }
diff --git a/core/src/test/java/com/opensymphony/xwork2/util/fs/JarEntryRevisionTest.java
b/core/src/test/java/com/opensymphony/xwork2/util/fs/JarEntryRevisionTest.java
index 5fd4215d1..54a10b90a 100644
--- a/core/src/test/java/com/opensymphony/xwork2/util/fs/JarEntryRevisionTest.java
+++ b/core/src/test/java/com/opensymphony/xwork2/util/fs/JarEntryRevisionTest.java
@@ -23,6 +23,7 @@
 import com.opensymphony.xwork2.XWorkTestCase;
 import org.apache.commons.io.IOUtils;
 
+import java.io.File;
 import java.io.FileOutputStream;
 import java.io.IOException;
 import java.io.InputStream;
@@ -67,6 +68,7 @@ public void testNeedsReloading() throws Exception {
         createJarFile(now);
         URL url = new URL("jar:file:target/JarEntryRevisionTest_testNeedsReloading.jar!/com/opensymphony/xwork2/util/fs/JarEntryRevisionTest.class");
         Revision entry = JarEntryRevision.build(url, fileManager);
+        assert entry != null;
         assertFalse(entry.needsReloading());
 
         createJarFile(now + 60000);
@@ -81,6 +83,30 @@ public void testNeedsReloadingWithContainerProvidedURLConnection() throws
Except
                 "jar:file:target/JarEntryRevisionTest_testNeedsReloading.jar!/com/opensymphony/xwork2/util/fs/JarEntryRevisionTest.class",
                 new ContainerProvidedURLStreamHandler());
         Revision entry = JarEntryRevision.build(url, fileManager);
+        assert entry != null;
+        assertFalse(entry.needsReloading());
+
+        createJarFile(now + 60000);
+        assertTrue(entry.needsReloading());
+    }
+
+    public void testNeedsReloadingWithContainerProvidedURLConnectionEmptyProtocol() throws
Exception {
+        long now = System.currentTimeMillis();
+
+        createJarFile(now);
+        File targetDir = new File("target");
+        String targetUrlStr = targetDir.toURI().toURL().toString();
+        if (targetUrlStr.startsWith("file:")) {
+            targetUrlStr = targetUrlStr.substring(5);//emptying protocol; we expect framework
will fix it
+        }
+        if (targetUrlStr.startsWith("/")) {
+            targetUrlStr = targetUrlStr.substring(1);//we expect framework will fix it also
+        }
+        URL url = new URL(null,
+                "zip:" + targetUrlStr + "JarEntryRevisionTest_testNeedsReloading.jar!/com/opensymphony/xwork2/util/fs/JarEntryRevisionTest.class",
+                new ContainerProvidedURLStreamHandler());
+        Revision entry = JarEntryRevision.build(url, fileManager);
+        assert entry != null;
         assertFalse(entry.needsReloading());
 
         createJarFile(now + 60000);
@@ -107,7 +133,7 @@ protected URLConnection openConnection(URL u) throws IOException {
      */
     private class ContainerProvidedURLConnection extends URLConnection {
 
-        protected ContainerProvidedURLConnection(URL url) {
+        ContainerProvidedURLConnection(URL url) {
             super(url);
         }
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Could not create JarEntryRevision for [zip:C:/.... unknown protocol c
> ---------------------------------------------------------------------
>
>                 Key: WW-4920
>                 URL: https://issues.apache.org/jira/browse/WW-4920
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.5.14
>         Environment: Weblogic server (Weblogic server version 12.2.1.2.0, JDK v 1.8.0_101)
>            Reporter: Yasser Zamani
>            Assignee: Yasser Zamani
>            Priority: Major
>              Labels: weblogic
>             Fix For: 2.5.16
>
>
> This is a follow up forĀ [BUG in struts-2.5.15|http://mail-archives.apache.org/mod_mbox/struts-user/201802.mbox/browser].
> copy of report from user mail list:
> Hi all,
> Testing your upcoming struts-2.5.15, when starting Weblogic server (Weblogic server version
> 12.2.1.2.0, JDK v 1.8.0_101), we see exception below.
> Thanks,
> Liem.
> --------------------------------------------
> {code:java}
> 2018-02-14 10:28:37.194 WARN  - Could not create JarEntryRevision for [zip:C:/Oracle/Middleware/Oracle_Home12.2.1.0.0/user_projects/domains/iwa_local_domain/servers/AdminServer/tmp/_WL_user/IWA/zfd81u/war/WEB-INF/lib/struts2-core.jar!/struts-default.xml]!
> java.net.MalformedURLException: unknown protocol: c
>                 at java.net.URL.<init>(URL.java:600) ~[?:1.8.0_101]
>                 at java.net.URL.<init>(URL.java:490) ~[?:1.8.0_101]
>                 at java.net.URL.<init>(URL.java:439) ~[?:1.8.0_101]
>                 at java.net.JarURLConnection.parseSpecs(JarURLConnection.java:175) ~[?:1.8.0_101]
>                 at java.net.JarURLConnection.<init>(JarURLConnection.java:158)
~[?:1.8.0_101]
>                 at com.opensymphony.xwork2.util.fs.StrutsJarURLConnection.<init>(StrutsJarURLConnection.java:44)
> ~[struts2-core.jar:2.5.15]
>                 at com.opensymphony.xwork2.util.fs.StrutsJarURLConnection.openConnection(StrutsJarURLConnection.java:99)
> ~[struts2-core.jar:2.5.15]
>                 at com.opensymphony.xwork2.util.fs.JarEntryRevision.build(JarEntryRevision.java:42)
> [struts2-core.jar:2.5.15]
>                 at com.opensymphony.xwork2.util.fs.DefaultFileManager.monitorFile(DefaultFileManager.java:94)
> [struts2-core.jar:2.5.15]
>                 at com.opensymphony.xwork2.util.fs.DefaultFileManager.loadFile(DefaultFileManager.java:73)
> [struts2-core.jar:2.5.15]
>                 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:1054)
> [struts2-core.jar:2.5.15]
>                 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:198)
> [struts2-core.jar:2.5.15]
>                 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:165)
> [struts2-core.jar:2.5.15]
>                 at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:166)
> [struts2-core.jar:2.5.15]
>                 at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
> [struts2-core.jar:2.5.15]
>                 at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:957)
> [struts2-core.jar:2.5.15]
>                 at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:463)
> [struts2-core.jar:2.5.15]
>                 at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:496)
[struts2-core.jar:2.5.15]
>                 at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:73)
> [struts2-core.jar:2.5.15]
>                 at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:61)
> [struts2-core.jar:2.5.15]
>                 at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:400)
> [com.oracle.weblogic.servlet.jar:12.2.1.0]
>                 at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
> [com.oracle.weblogic.security.subject.jar:12.2.1.0]
>                 at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
> [com.oracle.weblogic.security.subject.jar:12.2.1.0]
>                 at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
> [com.oracle.weblogic.servlet.jar:12.2.1.0]
>                 at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
> [com.oracle.weblogic.servlet.jar:12.2.1.0]
>                 at weblogic.servlet.internal.FilterManager.initFilter(FilterManager.java:130)
> [com.oracle.weblogic.servlet.jar:12.2.1.0]
>                 at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:92)
> [com.oracle.weblogic.servlet.jar:12.2.1.0]
>                 at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:72)
> [com.oracle.weblogic.servlet.jar:12.2.1.0]
>                 at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1917)
> [com.oracle.weblogic.servlet.jar:12.2.1.0]
>                 at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3063)
> [com.oracle.weblogic.servlet.jar:12.2.1.0]
>                 at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1830)
> [com.oracle.weblogic.servlet.jar:12.2.1.0]
>                 at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:875)
[com.oracle.weblogic.servlet.jar:12.2.1.0]
>                 at weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:360)
> [com.oracle.weblogic.application.jar:12.2.1.0]
>                 at weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:356)
> [com.oracle.weblogic.application.jar:12.2.1.0]
>                 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
> [com.oracle.weblogic.application.jar:12.2.1.0]
>                 at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:138)
> [com.oracle.weblogic.application.jar:12.2.1.0]
>                 at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
> [com.oracle.weblogic.application.jar:12.2.1.0]
>                 at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:237)
> [com.oracle.weblogic.application.jar:12.2.1.0]
>                 at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:232)
> [com.oracle.weblogic.application.jar:12.2.1.0]
>                 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
> [com.oracle.weblogic.application.jar:12.2.1.0]
>                 at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:82)
> [com.oracle.weblogic.application.jar:12.2.1.0]
>                 at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:52)
> [com.oracle.weblogic.application.jar:12.2.1.0]
>                 at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:753)
> [com.oracle.weblogic.application.jar:12.2.1.0]
>                 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
> [com.oracle.weblogic.application.jar:12.2.1.0]
>                 at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:263)
> [com.oracle.weblogic.application.jar:12.2.1.0]
>                 at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:67)
> [com.oracle.weblogic.application.jar:12.2.1.0]
>                 at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
> [com.oracle.weblogic.application.jar:12.2.1.0]
>                 at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
> [com.oracle.weblogic.deploy.jar:12.2.1.0]
>                 at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:265)
> [com.oracle.weblogic.deploy.jar:12.2.1.0]
>                 at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:481)
> [com.oracle.weblogic.deploy.jar:12.2.1.0]
>                 at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:53)
> [com.oracle.weblogic.deploy.jar:12.2.1.0]
>                 at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:202)
> [com.oracle.weblogic.deploy.jar:12.2.1.0]
>                 at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:52)
> [com.oracle.weblogic.deploy.jar:12.2.1.0]
>                 at weblogic.management.deploy.internal.ConfiguredDeployments$2.doItem(ConfiguredDeployments.java:592)
> [com.oracle.weblogic.deploy.jar:12.2.1.0]
>                 at weblogic.management.deploy.internal.parallel.BucketInvoker.invoke(BucketInvoker.java:138)
> [com.oracle.weblogic.deploy.jar:12.2.1.0]
>                 at weblogic.management.deploy.internal.ConfiguredDeployments.transitionAppsParallel(ConfiguredDeployments.java:600)
> [com.oracle.weblogic.deploy.jar:12.2.1.0]
>                 at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:259)
> [com.oracle.weblogic.deploy.jar:12.2.1.0]
>                 at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:155)
> [com.oracle.weblogic.deploy.jar:12.2.1.0]
>                 at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:221)
> [com.oracle.weblogic.deploy.jar:12.2.1.0]
>                 at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:130)
> [com.oracle.weblogic.deploy.jar:12.2.1.0]
>                 at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
> [com.bea.core.weblogic.lifecycle.jar:12.2.1.0]
>                 at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) ~[?:?]
>                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ~[?:1.8.0_101]
>                 at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
>                 at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1262)
> [org.glassfish.hk2.hk2-utils.jar:?]
>                 at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:332)
> [org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:374)
[org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
> [org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:228)
> [org.glassfish.hk2.hk2-runlevel.jar:?]
>                 at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
> [org.glassfish.hk2.hk2-runlevel.jar:?]
>                 at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)
[org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
> [org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:698)
> [org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:78)
> [org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:211)
[org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:234)
> [org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:357)
[org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
> [org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:228)
> [org.glassfish.hk2.hk2-runlevel.jar:?]
>                 at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
> [org.glassfish.hk2.hk2-runlevel.jar:?]
>                 at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)
[org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
> [org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:698)
> [org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:78)
> [org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:211)
[org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:234)
> [org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:357)
[org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
> [org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:228)
> [org.glassfish.hk2.hk2-runlevel.jar:?]
>                 at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
> [org.glassfish.hk2.hk2-runlevel.jar:?]
>                 at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)
[org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
> [org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88)
> [org.glassfish.hk2.hk2-locator.jar:?]
>                 at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1213)
> [org.glassfish.hk2.hk2-runlevel.jar:?]
>                 at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1144)
> [org.glassfish.hk2.hk2-runlevel.jar:?]
>                 at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:643)
> [com.bea.core.weblogic.workmanager.jar:12.2.1.0]
>                 at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
> [com.bea.core.utils.full.jar:12.2.1.0]
>                 at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
> [com.bea.core.utils.full.jar:12.2.1.0]
>                 at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
> [com.oracle.weblogic.work.jar:12.2.1.0]
>                 at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
> [com.bea.core.weblogic.workmanager.jar:12.2.1.0]
>                 at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
> [com.bea.core.weblogic.workmanager.jar:12.2.1.0]
>                 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397) [com.bea.core.weblogic.workmanager.jar:12.2.1.0]
>                 at weblogic.work.ExecuteThread.run(ExecuteThread.java:346) [com.bea.core.weblogic.workmanager.jar:12.2.1.0]
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message