-
1. Re: App Migration from 4.x to 7 - Class Not Found
ctomc Jun 19, 2013 10:09 AM (in response to herve.ferreira.ext)Hi,
how can jar contain a jar? that sounds bit wrong.
can you post output of jar tf <name-of-your-deployment>
so we can see what are you trying to deploy.
--
tomaz
-
2. Re: App Migration from 4.x to 7 - Class Not Found
herve.ferreira.ext Jun 19, 2013 12:18 PM (in response to ctomc)com/company/spt/server/dto/TFile.class
com/company/spt/server/dto/TFileHistory.class
com/company/spt/server/dto/TFileLock.class
com/company/spt/server/dto/TFileUser.class
com/company/spt/server/dto/TLabel.class
com/company/spt/server/dto/TPermission.class
com/company/spt/server/dto/TUser.class
com/company/spt/server/dto/TUserGroup.class
com/company/spt/server/dto/UserGroupImpl.class
com/company/spt/server/dto/UserImpl.class
com/company/spt/server/exceptions/
com/company/spt/server/license/
com/company/spt/server/license/Constants.class
com/company/spt/server/util/
com/company/spt/server/util/AccessServer.class
com/company/spt/server/util/PasswordUtils.class
com/company/spt/server/util/PasswordValidator.class
com/company/spt/server/util/PasswordVerifier.class
com/company/spt/server/util/RandPass$1.class
com/company/spt/server/util/RandPass$Requirement.class
com/company/spt/server/util/RandPass.class
com/company/spt/server/util/ServerConfiguration.class
com/company/spt/server/util/SystemException.class
com/company/spt/server/util/UserIdValidator.class
com/company/spt/server/util/UtilHelper.class
META-INF/
META-INF/MANIFEST.MF
META-INF/persistence.xml
myJarWithOtherClass.jar
-
3. Re: App Migration from 4.x to 7 - Class Not Found
wdfink Jun 19, 2013 12:27 PM (in response to herve.ferreira.ext)From JavaEE perspective it sounds wrong. You need to have an ear file which can contain different jar's.
BTW, to add a dependency to a module you can add "Dependencies: my.module" to the MANIFEST or use jboss-deployment-structure.xml, see here
-
4. Re: App Migration from 4.x to 7 - Class Not Found
sfcoy Jun 20, 2013 3:23 AM (in response to herve.ferreira.ext)Your "EJB" project does not seem to contain any EJBs (and there is no ejb-jar.xml file, which I'd expect to see in JBossAS 4 app). How is the rest of your application bundled?
-
5. Re: App Migration from 4.x to 7 - Class Not Found
herve.ferreira.ext Jun 20, 2013 3:43 AM (in response to sfcoy)My Jboss4 is customized and I have EJB3.0 in it.
I have other ejbmodules that access this ejbModule via remote interfaces.
I dont have any ear in the 4.0, but yes, I can package now in a ear.