[jira] [Created] (MSHADE-226) Shade with location for IBM's Websphere Application Server load error

2016-06-12 Thread MoonFruit (JIRA)
MoonFruit created MSHADE-226:


 Summary: Shade with location for IBM's Websphere Application 
Server load error
 Key: MSHADE-226
 URL: https://issues.apache.org/jira/browse/MSHADE-226
 Project: Maven Shade Plugin
  Issue Type: Bug
Affects Versions: 2.4.3
 Environment: IBM's Websphere Application Server
Reporter: MoonFruit


Mybatis 3.4.0 use shade to integrate javassist and ognl with relocation.

But when deploy war which has mybatis-3.4.0.jar to IBM's Websphere Application 
Server, the war cannot start because of the relocation of javassist.

Then I create a mybatis-3.4.0.jar without javassist and a independent javassist 
jar put it to my war. And deploy it to IBM's Websphere Application Server, 
everything is right.

So, I think maybe there is some error when shade plugin relocate javassist.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MSHADE-226) Shade with location for IBM's Websphere Application Server load error

2016-06-12 Thread MoonFruit (JIRA)

 [ 
https://issues.apache.org/jira/browse/MSHADE-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

MoonFruit updated MSHADE-226:
-
Description: 
Mybatis 3.4.0 use shade to integrate javassist and ognl with relocation.

But when deploy war which has mybatis-3.4.0.jar to IBM's Websphere Application 
Server 8.5.5.9, the war cannot start because of the relocation of javassist.

Then I create a mybatis-3.4.0.jar without javassist and a independent javassist 
jar put it to my war. And deploy it to IBM's Websphere Application Server 
8.5.5.9, everything is right.

So, I think maybe there is some error when shade plugin relocate javassist.

  was:
Mybatis 3.4.0 use shade to integrate javassist and ognl with relocation.

But when deploy war which has mybatis-3.4.0.jar to IBM's Websphere Application 
Server, the war cannot start because of the relocation of javassist.

Then I create a mybatis-3.4.0.jar without javassist and a independent javassist 
jar put it to my war. And deploy it to IBM's Websphere Application Server, 
everything is right.

So, I think maybe there is some error when shade plugin relocate javassist.


> Shade with location for IBM's Websphere Application Server load error
> -
>
> Key: MSHADE-226
> URL: https://issues.apache.org/jira/browse/MSHADE-226
> Project: Maven Shade Plugin
>  Issue Type: Bug
>Affects Versions: 2.4.3
> Environment: IBM's Websphere Application Server
>Reporter: MoonFruit
>
> Mybatis 3.4.0 use shade to integrate javassist and ognl with relocation.
> But when deploy war which has mybatis-3.4.0.jar to IBM's Websphere 
> Application Server 8.5.5.9, the war cannot start because of the relocation of 
> javassist.
> Then I create a mybatis-3.4.0.jar without javassist and a independent 
> javassist jar put it to my war. And deploy it to IBM's Websphere Application 
> Server 8.5.5.9, everything is right.
> So, I think maybe there is some error when shade plugin relocate javassist.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MSHADE-226) Shade with location for IBM's Websphere Application Server 8.5.5.9 load error

2016-06-12 Thread MoonFruit (JIRA)

 [ 
https://issues.apache.org/jira/browse/MSHADE-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

MoonFruit updated MSHADE-226:
-
Summary: Shade with location for IBM's Websphere Application Server 8.5.5.9 
load error  (was: Shade with location for IBM's Websphere Application Server 
load error)

> Shade with location for IBM's Websphere Application Server 8.5.5.9 load error
> -
>
> Key: MSHADE-226
> URL: https://issues.apache.org/jira/browse/MSHADE-226
> Project: Maven Shade Plugin
>  Issue Type: Bug
>Affects Versions: 2.4.3
> Environment: IBM's Websphere Application Server 8.5.5.9
>Reporter: MoonFruit
>
> Mybatis 3.4.0 use shade to integrate javassist and ognl with relocation.
> But when deploy war which has mybatis-3.4.0.jar to IBM's Websphere 
> Application Server 8.5.5.9, the war cannot start because of the relocation of 
> javassist.
> Then I create a mybatis-3.4.0.jar without javassist and a independent 
> javassist jar put it to my war. And deploy it to IBM's Websphere Application 
> Server 8.5.5.9, everything is right.
> So, I think maybe there is some error when shade plugin relocate javassist.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MSHADE-226) Shade with location for IBM's Websphere Application Server load error

2016-06-12 Thread MoonFruit (JIRA)

 [ 
https://issues.apache.org/jira/browse/MSHADE-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

MoonFruit updated MSHADE-226:
-
Environment: IBM's Websphere Application Server 8.5.5.9  (was: IBM's 
Websphere Application Server)

> Shade with location for IBM's Websphere Application Server load error
> -
>
> Key: MSHADE-226
> URL: https://issues.apache.org/jira/browse/MSHADE-226
> Project: Maven Shade Plugin
>  Issue Type: Bug
>Affects Versions: 2.4.3
> Environment: IBM's Websphere Application Server 8.5.5.9
>Reporter: MoonFruit
>
> Mybatis 3.4.0 use shade to integrate javassist and ognl with relocation.
> But when deploy war which has mybatis-3.4.0.jar to IBM's Websphere 
> Application Server 8.5.5.9, the war cannot start because of the relocation of 
> javassist.
> Then I create a mybatis-3.4.0.jar without javassist and a independent 
> javassist jar put it to my war. And deploy it to IBM's Websphere Application 
> Server 8.5.5.9, everything is right.
> So, I think maybe there is some error when shade plugin relocate javassist.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MSHADE-226) Shade with location for IBM's Websphere Application Server 8.5.5.9 load error

2016-06-12 Thread MoonFruit (JIRA)

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

MoonFruit commented on MSHADE-226:
--

This is from mybatis-3.4.0 's pom.xml:
  
org.apache.maven.plugins
maven-shade-plugin

  
package

  shade


   false
   
 
   org.mybatis:mybatis
   ognl:ognl
   org.javassist:javassist
 
   
   
 
   ognl
   org.apache.ibatis.ognl
 
 
   javassist
   org.apache.ibatis.javassist
 
   
 
   
 
  

And I use this to build a mybatis-3.4.0.jar and deploy it and a independent 
javassist.jar to my war, and it seems alright.
  
org.apache.maven.plugins
maven-shade-plugin

  
package

  shade


   false
   
 
   org.mybatis:mybatis
   ognl:ognl
 
   
   
 
   ognl
   org.apache.ibatis.ognl
 
   
 
   
 
  

> Shade with location for IBM's Websphere Application Server 8.5.5.9 load error
> -
>
> Key: MSHADE-226
> URL: https://issues.apache.org/jira/browse/MSHADE-226
> Project: Maven Shade Plugin
>  Issue Type: Bug
>Affects Versions: 2.4.3
> Environment: IBM's Websphere Application Server 8.5.5.9
>Reporter: MoonFruit
>
> Mybatis 3.4.0 use shade to integrate javassist and ognl with relocation.
> But when deploy war which has mybatis-3.4.0.jar to IBM's Websphere 
> Application Server 8.5.5.9, the war cannot start because of the relocation of 
> javassist.
> Then I create a mybatis-3.4.0.jar without javassist and a independent 
> javassist jar put it to my war. And deploy it to IBM's Websphere Application 
> Server 8.5.5.9, everything is right.
> So, I think maybe there is some error when shade plugin relocate javassist.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MSHADE-226) Shade with location for IBM's Websphere Application Server 8.5.5.9 load error

2016-06-12 Thread MoonFruit (JIRA)

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

MoonFruit commented on MSHADE-226:
--

And it only happened on IBM's Websphere Application Server 8.5.5.9, not Tomcat, 
not even other version of IBM's Websphere Application Server.

> Shade with location for IBM's Websphere Application Server 8.5.5.9 load error
> -
>
> Key: MSHADE-226
> URL: https://issues.apache.org/jira/browse/MSHADE-226
> Project: Maven Shade Plugin
>  Issue Type: Bug
>Affects Versions: 2.4.3
> Environment: IBM's Websphere Application Server 8.5.5.9
>Reporter: MoonFruit
>
> Mybatis 3.4.0 use shade to integrate javassist and ognl with relocation.
> But when deploy war which has mybatis-3.4.0.jar to IBM's Websphere 
> Application Server 8.5.5.9, the war cannot start because of the relocation of 
> javassist.
> Then I create a mybatis-3.4.0.jar without javassist and a independent 
> javassist jar put it to my war. And deploy it to IBM's Websphere Application 
> Server 8.5.5.9, everything is right.
> So, I think maybe there is some error when shade plugin relocate javassist.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MSHADE-226) Shade with location for IBM's Websphere Application Server 8.5.5.9 load error

2016-06-12 Thread MoonFruit (JIRA)

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

MoonFruit commented on MSHADE-226:
--

Sorry for lost log. But I remember that this:

scanJAR unable to open input stream for resource

That is on almost every class relate to javassist

> Shade with location for IBM's Websphere Application Server 8.5.5.9 load error
> -
>
> Key: MSHADE-226
> URL: https://issues.apache.org/jira/browse/MSHADE-226
> Project: Maven Shade Plugin
>  Issue Type: Bug
>Affects Versions: 2.4.3
> Environment: IBM's Websphere Application Server 8.5.5.9
>Reporter: MoonFruit
>
> Mybatis 3.4.0 use shade to integrate javassist and ognl with relocation.
> But when deploy war which has mybatis-3.4.0.jar to IBM's Websphere 
> Application Server 8.5.5.9, the war cannot start because of the relocation of 
> javassist.
> Then I create a mybatis-3.4.0.jar without javassist and a independent 
> javassist jar put it to my war. And deploy it to IBM's Websphere Application 
> Server 8.5.5.9, everything is right.
> So, I think maybe there is some error when shade plugin relocate javassist.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)