This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Issue while deploying Application in Jboss 7.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Issue while deploying Application in Jboss 7.1" Watch "Issue while deploying Application in Jboss 7.1" New topic
Author

Issue while deploying Application in Jboss 7.1

Sushant Sood
Greenhorn

Joined: Sep 07, 2012
Posts: 3
Hi all ,
I am using Liferay 6 bundled with Jboss 7 and i am trying to deploy my WARs in it and i am using jdk 7 . Now when i am deploying my wars and during the startup of the Server i am getting NoClassFoundException for sun/security/validator/ValidatorException in rt.jar although this file is present in rt.jar in jre/lib but still it is throwing this exception and also i am getting Null pointer exception in BasePortalLifeCycle class of Liferay when portlet is getting deployed in it. Please help as i have been stuck for long.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10069
    
163

Sushant, welcome the forums.

Please post the entire exception stacktrace that you are seeing. While posting logs, please wrap them is a code block using the Code button in the message editor window.


[My Blog] [JavaRanch Journal]
James Boswell
Bartender

Joined: Nov 09, 2011
Posts: 1012
    
    5

It would be useful if you could provide stack traces for the exceptions you are receiving.
Sushant Sood
Greenhorn

Joined: Sep 07, 2012
Posts: 3
Hi , apologize for the earlier improper post, following is the complete stack trace :

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10069
    
163

It looks like one of you (JSF?) class is using a Sun JDK specific class sun.security.validator.ValidatorException in the code. Is that intentional?
Sushant Sood
Greenhorn

Joined: Sep 07, 2012
Posts: 3
Hi Jai,
It is not intentional . I will check on that . This is only the JBoss Processor which is using it i guess . I Will check once . Can you please let me know why Liferay BasePortalLifeCycle is causing Null Pointer exception . I am clueless
 
Consider Paul's rocket mass heater.
 
subject: Issue while deploying Application in Jboss 7.1