Dear Will hartung
Thanks for your quick reply.
I just tried to deploy our application on GlassFish V4.
However, error is the same as GlassFish V3.
*I believe that main problem is as below.
Our application uses quite old framework which include "myfaces-1.0.9.jar" offered by Apatch.
Problem is myfaces1.0.9.jar includes packages, java.* and javax.*
Following Oracle official documents, class files in these packages are not loaded by classloader.
Although we configure about classloader delegation, classloader never loads class files from these packages.
http://docs.oracle.com/cd/E19226-01/820-7695/beagb/index.html
Would you know the way that a classloader in GlassFish V3 (or V4) can load class files from packages including java.* and javax.*?
Regards,
Masahiro Takahashi
差出人: Will Hartung
送信日時: 2015年8月18日 火曜日 2:08
宛先: users_at_glassfish.java.net
On Aug 16, 2015, at 10:04 PM, <markn0053_at_gmail.com> wrote:
> Hi, all.
>
> I have a question about GlassFish V3 deployment.
> Now I have been proceeding migration project.
> I would like to migrate an application to GlassFish V3.
>
> I confirmed I can deploy the application to GlassFish V2 without any
> problems.
> However, I can not deploy it to GlassFish V3.
>
> I saw a document from GlassFish site.
> GlassFish V3 has a compatibility with GlassFish V2.
> http://docs.oracle.com/cd/E26576_01/doc.312/e24938/deploy.htm#GSRFM0011
> 4
>
> I put command line as below.
> deploy --properties compatibility=V2 "Application Path"
>
> Does GlassFish V3 have compatibility with GlassFish V2?
Oh, there's a big "it depends" on all of this. They're different enough that it may well not be drag and drop, but you can't really summarize the points that raise issues porting. Many things Just Work, but there's always details and can mess things up. It's been so long since we ported off of v2, I can't even recall what we encountered.
On another point, if you are on GF v2, and are looking to move forward, you should skip 3.1.2 completely, and work on porting to 4.1. 3.1.2 is quite good, we use it ourselves, but with the progression of Glassfish, JEE, and Java, you should really migrate to 4.1.
You'll simply have to address the individual issues as they crop up. Feel free to bring them up here.
Regards,
Will Hartung
(willh_at_mirthcorp.com)
--
This message, and any documents attached hereto, may contain confidential
or proprietary information intended only for the use of the addressee(s)
named above or may contain information that is legally privileged. If you
are not the intended addressee, or the person responsible for delivering it
to the intended addressee, you are hereby notified that reading,
disseminating, distributing or copying this message is strictly prohibited.
If you have received this message by mistake, please immediately notify us
by replying to the message and delete the original message and any copies
immediately thereafter. Thank you for your cooperation.