• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tomcat-Jboss-EJB3 integration p/b

 
Ranch Hand
Posts: 47
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,

trying to run jboss embedded server under tomcat.

getting error

InitialContextProperties -> ** NOT FOUND **

TransactionManager -> ** NOT FOUND **

CachedConnectionManager -> ** NOT FOUND **

What could be the cause ?

 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

vijay dadhwal wrote:

trying to run jboss embedded server under tomcat.



Can you tell us, which embedded server are you talking about? I haven't heard anyone running JBoss server under Tomcat.
 
vijay dadhwal
Ranch Hand
Posts: 47
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using Eclipse (Helios) + tomcat 6.0.29 + jboss-embedded-beta3.SP12 + Hibernate 3.x (final)

Basically I want to use ejb3 via hibernate for which i require J2EE Container, so i downloded "jboss-embedded-beta3.SP12-bin", which could be configured as Listener in conf/server.xml.

As per the installation guide for embedding it :-

(1) i have copied these jars under tomcat/lib folder :-
hibernate-all.jar
jboss-embedded.jar
jboss-embedded-all.jar
jboss-embedded-tomcat-bootstrap.jar
thirdparty-all.jar

(2) I have also copied the configuration folders & files from bootstrap folder to tomcat\lib
(3) I have added Listener in conf/server.xml file as


(4) I have added listener in conf/context.xml file as


(5) My project file contains :

src/META-INF/helloworld-beans.xml


I have also copied helloworld-beans.xml file in tomcat/lib/deploy folder


(6)src/META-INF/persistence.xml


(7) Bean Interface :- codes/MessageHandler



(8) Bean :- codes/MessageHandlerBean



(9) and finally user class :- codes/helloworld_jboss




Regards
vijay
 
My favorite is a chocolate cupcake with white frosting and tiny ad sprinkles.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic