Hello, everyone


I'm a newbie of jboss and encountered a strange problem.

I created a project in JBuilder7 including a jsp, a servlet

and a session bean. The code is very simple.

My env is jboss 3.0.0, tomcat 4.0 and jbuilder7. There were

2 problems in servlet when creating session bean interface:



1) After ctx.lookup(), It failed to convert the object to

my session bean home interface by PortableRemoteObject.narrow().

Then I changed jdk from 1.4 to 1.3 and it's ok :-)



2) Then I called home.create() to retrieve session bean remote

interface, but it throwed a NullPointerException.



I think there is no problem in code because it run well in Websphere.

Perhaps it's caused by unmatching jboss or tomcat version.

Will anyone give any advice?



BTW, which is the stablest version of jboss and tomcat with jb7?



Much thanks

Forge





--http://www.eyou.com
--�ȶ��ɿ�����ѵ�������  �����ʼ�  �ƶ���ǩ  ��������  ����洢...����δ��




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to