Problem while migrating from weblogic to Jboss
sachin1506 Jan 8, 2009 11:12 PMHello Everyone
I am using jboss 3.2.6
with jdk 1.4
i have a problem with deploying my module that was earlier deployed in weblogic
i have a module named test1.ear ..this is deployed ..
this module has a gui to login
login and authentication is done ..after that there are some more modules represented by buttons
when i click on one of the button for which ear is deployed like test2.ear then it is also successfulll but while working on test2.ear it requirtes test3.jar and test3.war files
now while deploying these test3.jar and test3.war to deploy directory i get the following errors ...
12:09:25,693 WARN [verifier] EJB spec violation: Bean : RaContactInfo Method : public Long ejbCreate() Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,694 WARN [verifier] EJB spec violation: Bean : RaContactInfo Method : public Long ejbCreate(Long, String) Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,694 WARN [verifier] EJB spec violation: Bean : RaContactInfo Method : public Long ejbCreate(Long, String, Long) Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,706 WARN [verifier] EJB spec violation: Bean : RaDataInterchangeInfo Method : public Long ejbCreate() Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,707 WARN [verifier] EJB spec violation: Bean : RaDataInterchangeInfo Method : public Long ejbCreate(Long, String, Long, Long, String, String, Long, Long, String, String, String, String, String, Long, Long, String, String) Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,715 WARN [verifier] EJB spec violation: Bean : RaFileSeqNum Method : public RaFileSeqNumPK ejbCreate() Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,715 WARN [verifier] EJB spec violation: Bean : RaFileSeqNum Method : public RaFileSeqNumPK ejbCreate(Integer, String, Integer) Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,721 WARN [verifier] EJB spec violation: Bean : RaVpmnHpmnTriplet Method : public Integer ejbCreate() Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,721 WARN [verifier] EJB spec violation: Bean : RaVpmnHpmnTriplet Method : public Integer ejbCreate(Integer, Long, String, String) Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,729 WARN [verifier] EJB spec violation: Bean : RaEmergencyServicelist Method : public RaEmergencyServicelistPK ejbCreate() Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,730 WARN [verifier] EJB spec violation: Bean : RaEmergencyServicelist Method : public RaEmergencyServicelistPK ejbCreate(Long, String, String, Long) Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,739 WARN [verifier] EJB spec violation: Bean : RaFraudInfo Method : public RaFraudInfoPK ejbCreate() Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,739 WARN [verifier] EJB spec violation: Bean : RaFraudInfo Method : public RaFraudInfoPK ejbCreate(Long, String, Long, String, Timestamp, String) Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,739 WARN [verifier] EJB spec violation: Bean : RaFraudInfo Method : public RaFraudInfoPK ejbCreate(Long, String, Long, String, String, String, Timestamp, String, Float, Long, Long, Long, String) Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,739 WARN [verifier] EJB spec violation: Bean : RaFraudInfo Method : public RaFraudInfoPK ejbCreate(Long, String, Long, String, String, String, Timestamp, String, Float, Long, Long, long) Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,747 WARN [verifier] EJB spec violation: Bean : RaInvoiceInfo Method : public Long ejbCreate() Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,748 WARN [verifier] EJB spec violation: Bean : RaInvoiceInfo Method : public Long ejbCreate(Long, String, Long, Long, String, Float, String, Float) Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,748 WARN [verifier] EJB spec violation: Bean : RaInvoiceInfo Method : public Long ejbCreate(Long, String, Long, Long, Long, Long, Long, Long, String, Float, String, Float) Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,756 WARN [verifier] EJB spec violation: Bean : RaPmnList Method : public RaPmnListPK ejbCreate() Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,756 WARN [verifier] EJB spec violation: Bean : RaPmnList Method : public RaPmnListPK ejbCreate(Long, String, String, String, String) Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,756 WARN [verifier] EJB spec violation: Bean : RaPmnList Method : public RaPmnListPK ejbCreate(Long, String, String, String, String, String, Long, String, String) Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,771 WARN [verifier] EJB spec violation: Bean : RaRoamingAgreement Method : public Long ejbCreate() Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,771 WARN [verifier] EJB spec violation: Bean : RaRoamingAgreement Method : public Long ejbCreate(Long, String, Long, Long, Long, Timestamp, Timestamp, Timestamp, Timestamp, Timestamp, Long, Long, Long, Long, Long, String, Long, Long, Long, Integer, String, String, Long, Timestamp, String) Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,780 WARN [verifier] EJB spec violation: Bean : RaServicelistInfo Method : public RaServicelistInfoPK ejbCreate() Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,780 WARN [verifier] EJB spec violation: Bean : RaServicelistInfo Method : public RaServicelistInfoPK ejbCreate(Long, String, String, Long) Section: 10.6.4 Warning: The throws clause must define the javax.ejb.CreateException. 12:09:25,795 WARN [EJBVerifier20] Default instances of primary key: class cdot.oss.clh.ram.ejb.entity.RaVasListPK do not have the same hash, check your hashCode method 12:09:25,804 WARN [EJBVerifier20] Default instances of primary key: class cdot.oss.clh.ram.ejb.entity.LocalAgreementPK do not have the same hash, check your hashCode method 12:09:25,813 WARN [EJBVerifier20] Default instances of primary key: class cdot.oss.clh.ram.ejb.entity.RaBillingCyclePK do not have the same hash, check your hashCode method 12:09:25,822 WARN [EJBVerifier20] Default instances of primary key: class cdot.oss.clh.ram.ejb.entity.LaTariffPK do not have the same hash, check your hashCode method 12:09:25,978 ERROR [MainDeployer] could not create deployment: file:/sagit_1/sachin/Desktop/withoutConfigured/jboss-3.2.6/server/default/deploy/ram.jar org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages. at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:517) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:783) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
as i get the warnings and then deployment fails
so do i need to remove these warnings ..is it must ..is that causing the deployment to be fail...and
when i tried putting test3.jar to my lib directory and added that to classpath also that doesn't work ....deployment works like test3.jar is no where present
Plzz Help me ..i am stuck here for a long time
do i need to make some configuration changes ..????
Thnx in Advance
Thnkyou