Hi,
I'm trying to deploy the noejb version of JBoss Seam on tomcat 5.5 using
microcontainer. But I always get this on tomcat startup:
(...)
INFO 15-11 22:19:15,625 (?::?) -Component: changePassword, scope: EVENT,
type: JAVA_BEAN, class: org.jboss.seam.example.noejb.ChangePasswordAction
INFO 15-11 22:19:15,671 (?::?) -Component: bookingList, scope: EVENT, type:
JAVA_BEAN, class: org.jboss.seam.example.noejb.BookingListAction
INFO 15-11 22:19:15,671 (?::?) -Component: hotelBooking, scope: CONVERSATION,
type: JAVA_BEAN, class: org.jboss.seam.example.noejb.HotelBookingAction
INFO 15-11 22:19:15,718 (?::?) -Component: logout, scope: EVENT, type:
JAVA_BEAN, class: org.jboss.seam.example.noejb.LogoutAction
INFO 15-11 22:19:15,734 (?::?) -Component: register, scope: EVENT, type:
JAVA_BEAN, class: org.jboss.seam.example.noejb.RegisterAction
INFO 15-11 22:19:15,734 (?::?) -Component: booking, scope: CONVERSATION,
type: ENTITY_BEAN, class: org.jboss.seam.example.noejb.Booking
INFO 15-11 22:19:15,734 (?::?) -Component: login, scope: EVENT, type:
JAVA_BEAN, class: org.jboss.seam.example.noejb.LoginAction
INFO 15-11 22:19:15,765 (?::?) -Component: user, scope: SESSION, type:
ENTITY_BEAN, class: org.jboss.seam.example.noejb.User
INFO 15-11 22:19:15,765 (?::?) -Component: hotel, scope: CONVERSATION, type:
ENTITY_BEAN, class: org.jboss.seam.example.noejb.Hotel
INFO 15-11 22:19:16,718 (?:getTransactionManager:?) -starting JTA transaction
manager
ERROR 15-11 22:19:16,781 (AbstractController.java:incrementState:332) -Error
installing to Instantiated: name=TransactionManager state=Described
javax.naming.NamingException: Context is read only
at org.apache.naming.NamingContext.checkWritable(NamingContext.java:902)
at org.apache.naming.NamingContext.bind(NamingContext.java:830)
at org.apache.naming.NamingContext.rebind(NamingContext.java:207)
at org.apache.naming.NamingContext.rebind(NamingContext.java:222)
at org.apache.naming.SelectorContext.rebind(SelectorContext.java:206)
at javax.naming.InitialContext.rebind(InitialContext.java:367)
at
org.jboss.util.naming.NonSerializableFactory.rebind(NonSerializableFactory.java:166)
at
org.jboss.seam.microcontainer.TransactionManagerFactory.getTransactionManager(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(...)
I have put on classpath a file jndi.properties containing :
java.naming.factory.initial org.jnp.interfaces.LocalOnlyContextFactory
java.naming.factory.url.pkgs org.jboss.naming:org.jnp.interfaces
But it doesn't help !
any help is welcome !
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907304#3907304
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907304
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user