I found on sourceforge.net
Jboss.3.0.Template.Project.zip
I install according to documentation in Readme.
I am using jboss3 final.
When I deploy I got next error message on jboss console
Bean : test/TestMessage
Method : public void ejbCreate() throws CreateException
Section: 15.7.3
Warning: The ejbCreate() method must define no application exceptions.
04:51:51,601 INFO [EJBDeployer]
Bean : test/TestMessage
Method : public void ejbRemove() throws EJBException
Section: 15.7.5
Warning: The ejbRemove() method must define no application exceptions.
04:51:51,605 INFO [EjbModule] Creating
04:51:51,644 INFO [EjbModule] Deploying test/TestEntity
04:51:51,707 INFO [EjbModule] Deploying test/SequenceGenerator
04:51:51,727 INFO [EjbModule] Deploying test/TestSession
04:51:51,767 INFO [EjbModule] Deploying test/TestMessage
04:51:52,511 INFO [EjbModule] Created
04:51:52,513 INFO [EjbModule] Starting
04:51:53,465 INFO [test/TestEntity] Created table 'testentity'
successfully.
04:51:53,468 INFO [EjbModule] Started
04:51:53,469 INFO [MainDeployer] Successfully completed deployment of
package:
file:/opt/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/ejb-test.jar
Then I run client and got error
five:/opt/template/build/client/jar# sh runClient.sh
java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is:
java.rmi.ServerException: Remote exception occured while
removing generator session bean: Sequence number is broken; nested
exception is:
javax.ejb.EJBException: Sequence number is broken; nested
exception is:
javax.ejb.EJBException: Remote exception occured while removing
generator session bean: Sequence number is broken; nested exception is:
javax.ejb.EJBException: Sequence number is broken
at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
And on jboss console I get next error
05:09:01,845 ERROR [LogInterceptor] TransactionRolledbackException,
causedBy:
javax.ejb.EJBException: Sequence number is broken
at test.entity.TestEntityBean.ejbCreate(TestEntityBean.java:477)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:221)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:270)
at
org.jboss.ejb.EntityContainer.createHome(EntityContainer.java:728)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Can somebody help?
Thanks.
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user