-
1. Re: Doing migration i got this error . What does rt.jar:1.7.0_79 ?
abhinav.gupta01 May 7, 2015 4:29 AM (in response to leru)>>What does rt.jar:1.7.0_79 ?
This simply states that call start from jre version 7 , 79 update. It has nothing to do with exception you are getting.
You need to check in which jar ni.servlet.Init is available. Probably your application use this class before , and you miss to put this jar in lib folder of EAR.
you need to find in which jar this class is present ; and to add this jar to application.
If you find the jar , you have options to import it to wildly using custom modules as well.
Hope this helps.
-
2. Re: Doing migration i got this error . What does rt.jar:1.7.0_79 ?
leru May 7, 2015 4:47 AM (in response to abhinav.gupta01)Thank you gupta .ni.servlet.Init is a package under src .Must i put it in ear lib? I have all servlet dichiaration in web in that does not install.
-
3. Re: Doing migration i got this error . What does rt.jar:1.7.0_79 ?
abhinav.gupta01 May 7, 2015 8:18 AM (in response to leru)I assume this ni.servlet.Init is your own class file.
If you are using EAR , then you can place all your required jars in lib folder under EAR , and it will be available for all wars.
Please share some more details on your application structure.
-
5. Re: Doing migration i got this error . What does rt.jar:1.7.0_79 ?
leru May 7, 2015 8:39 AM (in response to leru) -
6. Re: Doing migration i got this error . What does rt.jar:1.7.0_79 ?
abhinav.gupta01 May 7, 2015 9:54 AM (in response to leru)Not sure now about what can cause this .
Please check once your EAR structure , where exactly that needed class is placed in EAR file .
If possible export this EAR and share it on dropbox, and share link here , so that community experts can have a look (I am not a expert )
Exception is because class loader was not able to find class. If in EAR this class is NOT in lib , then this could be an issue.
I never use eclipse for wildfly deployments , so not sure how this EAR is generated by eclipse.
-
7. Re: Doing migration i got this error . What does rt.jar:1.7.0_79 ?
sanjay05222 May 7, 2015 5:11 PM (in response to leru)I think you have to see where is this it.s2mc.fe.servlet.filters.IE9ExtensionsFilter class files are . I Mean you need to find out which jar it is in .
Cross check whether that Jar need to be included as separate module or as jsdk extension .
Let me know once you have found the jar in your Jboss Instance
Thanks
Sanjay Gautam
-
8. Re: Doing migration i got this error . What does rt.jar:1.7.0_79 ?
leru May 8, 2015 1:51 AM (in response to sanjay05222)Thanks you sanjay.It is into jre\lib\rt.jar. What must i do now with this rt.jar ?
Thanks.
-
9. Re: Doing migration i got this error . What does rt.jar:1.7.0_79 ?
leru May 8, 2015 2:53 AM (in response to leru)Thanks you sanjay . it's working but now as i'm doing a migration from websphere to jboss wildfly i want to implemente a j_security check using the "other " default sercurity .Are there specific things to do ?
I have the folder "pages" protected.
Thanks thanks....
-
10. Re: Doing migration i got this error . What does rt.jar:1.7.0_79 ?
sanjay05222 May 8, 2015 3:17 AM (in response to leru)Great , there are some packages and classes which doesn't not load directly as you might think of which are related with jre , I have no idea why though , but I can help you to fix the issue .
Please perform following steps hopefully it will fix class not found error .
Go In this file path
wildfly-8.1.0.Final\modules\system\layers\base\sun\jdk\main
Open the module.xml
you will see many paths which are related with the jre are being included here. you have to add the one for the class above. and also make sure that the jar is also available in similar path .
I will add it to the module.xml like below
I am taking here example of <path name="com/sun/jsf-impl"/> <-- Adding this is the important aspect of the configuration.
Secondly I will make sure that module is there for it .
wildfly-8.2.0.Final\modules\system\layers\base\com\sun\jsf-impl\main
More details can be found in this place , Hope this helps.
https://docs.jboss.org/author/display/WFLY8/Class+Loading+in+WildFly
Section in the end Accessing JDK Classes
probably is helpful
can you also upload the log file please.
Thanks
Sanjay Gautam
(Mark helpful if it helped)
-
11. Re: Doing migration i got this error . What does rt.jar:1.7.0_79 ?
sanjay05222 May 8, 2015 3:20 AM (in response to leru)massamba mass wrote:
Thanks you sanjay . it's working but now as i'm doing a migration from websphere to jboss wildfly i want to implemente a j_security check using the "other " default sercurity .Are there specific things to do ?
I have the folder "pages" protected.
Thanks thanks....
It will be great if you share what actually was the solutions . - Thanks
-
12. Re: Doing migration i got this error . What does rt.jar:1.7.0_79 ?
leru May 8, 2015 4:09 AM (in response to sanjay05222)Ciao great it's my module. I don't have seen anything refered to jre.
<module xmlns="urn:jboss:module:1.1" name="sun.jdk">
<resources>
<!-- currently jboss modules has not way of importing services from
classes.jar so we duplicate them here -->
<resource-root path="service-loader-resources"/>
</resources>
<dependencies>
<system export="true">
<paths>
<path name="com/sun/script/javascript"/>
<path name="jdk/nashorn/api/scripting"/>
<path name="com/sun/image/codec/jpeg"/>
<path name="com/sun/imageio/plugins/bmp"/>
<path name="com/sun/imageio/plugins/common"/>
<path name="com/sun/imageio/plugins/gif"/>
<path name="com/sun/imageio/plugins/jpeg"/>
<path name="com/sun/imageio/plugins/png"/>
<path name="com/sun/imageio/plugins/wbmp"/>
<path name="com/sun/imageio/spi"/>
<path name="com/sun/imageio/stream"/>
<path name="com/sun/jndi/dns"/>
<path name="com/sun/jndi/ldap"/>
<path name="com/sun/jndi/url"/>
<path name="com/sun/jndi/url/corbaname"/>
<path name="com/sun/jndi/url/dns"/>
<path name="com/sun/jndi/url/iiop"/>
<path name="com/sun/jndi/url/iiopname"/>
<path name="com/sun/jndi/url/ldap"/>
<path name="com/sun/jndi/url/ldaps"/>
<path name="com/sun/crypto/provider"/>
<path name="com/sun/org/apache/xml/internal/security/transforms/implementations"/>
<path name="com/sun/security/auth"/>
<path name="com/sun/security/auth/login"/>
<path name="com/sun/security/auth/module"/>
<path name="sun/awt"/>
<path name="sun/awt/color"/>
<path name="sun/awt/datatransfer"/>
<path name="sun/awt/dnd"/>
<path name="sun/awt/event"/>
<path name="sun/awt/geom"/>
<path name="sun/awt/im"/>
<path name="sun/awt/image"/>
<path name="sun/awt/image/codec"/>
<path name="sun/awt/motif"/>
<path name="sun/awt/resources"/>
<path name="sun/awt/shell"/>
<path name="sun/awt/util"/>
<path name="sun/awt/windows"/>
<path name="sun/awt/X11"/>
<path name="sun/print"/>
<path name="sun/print/resources"/>
<path name="sun/security/pkcs"/>
<path name="sun/security/x509"/>
<path name="sun/jdbc/odbc"/>
<path name="sun/jdbc/odbc/ee"/>
<path name="sun/font"/>
<path name="sun/misc"/>
<path name="sun/io"/>
<path name="sun/nio"/>
<path name="sun/nio/ch"/>
<path name="sun/nio/cs"/>
<path name="sun/nio/cs/ext"/>
<path name="sun/security"/>
<path name="sun/security/util"/>
<path name="sun/security/krb5"/>
<path name="sun/util"/>
<path name="sun/util/calendar"/>
<path name="sun/util/locale"/>
<path name="sun/util/resources"/>
<path name="sun/security/pkcs11"/>
<path name="sun/security/provider"/>
<path name="sun/text"/>
<path name="META-INF/services"/>
</paths>
<exports>
<include-set>
<path name="META-INF/services"/>
</include-set>
</exports>
</system>
</dependencies>
</module>
-
13. Re: Doing migration i got this error . What does rt.jar:1.7.0_79 ?
leru May 8, 2015 6:45 AM (in response to leru)Thanks again sanjay. I have change the variable of system (windows) and give the path c:\programmi(x86)\java\jre\bin\java .Also i have add to the module( C:\Users\wildfly-8.0.0.Final\modules\system\layers\base\sun\jdk\main) path name=" sun/net/util "as path name.
Sanjay how can i use the security "other " (web.xml) using user.prop and user.role?
Thanks you san
-
14. Re: Doing migration i got this error . What does rt.jar:1.7.0_79 ?
leru May 9, 2015 8:00 AM (in response to leru)how to implemente j security check in wildfly8 using form?
how to implemente spring without maven in wildfly8 ?