[Installation, Configuration & DEPLOYMENT] - Re: Problem while migrating from weblogic to Jboss
by sachin1506
Here I get some clue about my problem
my session ejb's are deployed (as per i think ) bcoz warning msgs are for only entity beans and two other modules that are deployed earlier successfully dont use entity beans
so i got at the point that some where i have problem with deploying Entity Beans
anonymous wrote : I m putting one entity element
Here my ejb-jar.xml is
Entity Bean ( CMP )
<display-name>RaContactInfo</display-name>
<ejb-name>RaContactInfo</ejb-name>
cdot.oss.clh.ram.ejb.entity.RaContactInfoHome
cdot.oss.clh.ram.ejb.entity.RaContactInfo
<local-home>cdot.oss.clh.ram.ejb.entity.RaContactInfoLocalHome</local-home>
cdot.oss.clh.ram.ejb.entity.RaContactInfoLocal
<ejb-class>cdot.oss.clh.ram.ejb.entity.RaContactInfoBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.Long</prim-key-class>
False
<cmp-version>2.x</cmp-version>
<abstract-schema-name>RaContactInfo</abstract-schema-name>
<cmp-field>
<field-name>contactInfoId</field-name>
</cmp-field>
<cmp-field>
<field-name>contactInfoName</field-name>
</cmp-field>
<cmp-field>
<field-name>roamingMngtAddrId</field-name>
</cmp-field>
<cmp-field>
<field-name>interPmnInvoiceAddrId</field-name>
</cmp-field>
<cmp-field>
<field-name>custCareAddrId</field-name>
</cmp-field>
<cmp-field>
<field-name>mktAddrId</field-name>
</cmp-field>
<cmp-field>
<field-name>simAddrId</field-name>
</cmp-field>
<cmp-field>
<field-name>fraudMngtAddrId</field-name>
</cmp-field>
<cmp-field>
<cmp-field>
<field-name>dataInterchangeAddrId</field-name>
</cmp-field>
<cmp-field>
<field-name>pmnAddrId</field-name>
</cmp-field>
<cmp-field>
<field-name>tadigTestingAddrId</field-name>
</cmp-field>
<cmp-field>
<field-name>iregTestingAddrId</field-name>
</cmp-field>
<cmp-field>
<field-name>mapSignallingAddrId</field-name>
</cmp-field>
<cmp-field>
<field-name>agreementMngt_AddrId</field-name>
</cmp-field>
<cmp-field>
<field-name>status</field-name>
</cmp-field>
<cmp-field>
<field-name>remarks</field-name>
</cmp-field>
<cmp-field>
<field-name>internationalRoamingAddrId</field-name>
</cmp-field>
<primkey-field>contactInfoId</primkey-field>
<query-method>
<method-name>findAll</method-name>
<method-params/>
</query-method>
<ejb-ql>select object(o) from RaContactInfo o</ejb-ql>
<query-method>
<method-name>findByMaxContactInfoId</method-name>
<method-params/>
</query-method>
<ejb-ql><![CDATA[SELECT OBJECT(o) FROM RaContactInfo AS o WHERE o.contactInfoId IN (SELECT MAX(p.contactInfoId) FROM RaContactInfo AS p)]]>
</ejb-ql>
<query-method>
<method-name>findByStatus</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>SELECT OBJECT(o) FROM RaContactInfo AS o WHERE o.status=?1 </ejb-ql>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200599#4200599
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200599
17 years, 3 months
[JBossWS] - Thread pool error
by narensb
I have created a event source.when subscription request is coming i am passing the subscription info to lower layer where events are generated.
After getting the subscription status at lower layer level i am subscribing the subscription in jboss eventing module.
The events are being generated in the lower layer creating a new thread
which is calling a dispatch method of Dispatch service(where actual dispatching is done using delegate.dispatch() as specified in the user guide chapter 16 of jbossws).
I am getting this error
19:44:26,433 ERROR [STDERR] Exception in thread "pool-1-thread-2"
19:44:26,433 ERROR [STDERR] java.lang.NullPointerException
19:44:26,433 ERROR [STDERR] at org.jboss.ws.extensions.eventing.mgmt.DispatchJob.run(DispatchJob.java:51)
19:44:26,433 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
19:44:26,433 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
19:44:26,433 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
any clue plzz help!!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200581#4200581
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200581
17 years, 3 months
[Installation, Configuration & DEPLOYMENT] - JBoss AS 5 web/tomcat profile
by dirkdaems
Hi,
I am trying to configure my own custom web/tomcat profile starting from the minimal profile that is part of the JBoss 5.0.0 distribution.
I added the jbossweb.sar folder from the default configuration to the deploy folder of my custom profile. I did the same thing for the jbossweb.deployer folder from the deployers folder.
After adding some dependent JARs (jboss.jar, jboss-metadata.jar, jbosssx-server.jar, jboss-security-spi.jar, jboss-javaee.jar, jbosssx.jar and jboss-bindingservice.jar) to the lib folder I keep getting ClassNotFoundErrors for EJB3/JPA related classes like org.jboss.jpa.resolvers.PersistenceUnitDependencyResolver. I can't imagine it is normal that EJB3/JPA classes need to be added to the library list to make this work!
Does anyone have experience creating such a profile? Is there a better way than 'trial and error' to find out what the dependencies of a service are?
Thanks in advance.
Kind regards,
Dirk Daems
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200570#4200570
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200570
17 years, 3 months