Page 1 of 1

Deploy Error!!!

PostPosted:Thu Sep 25, 2008 8:28 am
by Hlexarder
Pre:windows xp,JBoss-IDE-1.6.0

When I deployed OpenKM.ear.I got some errors:

javax.management.InstanceAlreadyExistsException: jboss.j2ee:jndiName=ejb/AuthModule,service=EJB already registered.

16:18:14,298 ERROR [MainDeployer] Could not create deployment: file:/F:/eclipse/jboss-4.0.5.GA/server/default/tmp/deploy/tmp37975OpenKM.ear-contents/OpenKM.war
org.jboss.ws.WSException: Service already registerd: jboss.ws:context=OpenKM,endpoint=OKMAuthWS

Caused by: org.jboss.ws.WSException: Service already registerd: jboss.ws:context=OpenKM,endpoint=OKMAuthWS




If I don\'t care to the errors above,and go on to Run the project.
I can see the login page,but can not login.
With these errors:
16:19:44,235 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files
java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found

Re:Deploy Error!!!

PostPosted:Thu Sep 25, 2008 12:20 pm
by pavila
The deploy error are solved eliminating webservices. Search in this forum for more info. The second error means that can\'t locate use/pass files. Which OpenKM are you using?

Re:Deploy Error!!!

PostPosted:Fri Sep 26, 2008 2:41 am
by Hlexarder
I don\'t know the version of OpenKM I using,because I can\'t download the project from CVS,and the OpenKM I using is from my friend.
So,How to check the version of the OpenKM??

Re:Deploy Error!!!

PostPosted:Fri Sep 26, 2008 4:29 pm
by jllort
The easiest way to know OpenKM is going to menu help/About Openkm ( the popup shows openkm version ).

To solve your problem as says pavila, you must remove webservices take a look at this forum post.

Re:Deploy Error!!!

PostPosted:Fri Oct 10, 2008 7:55 pm
by christian_gnoth
Hello,
I am using Eclipse Ganymede 3.4. But the shortcuts Ctrl+Shift+F2 for generating the *.ear file is not working.

How else can I generate the ear file?

Re:Deploy Error!!!

PostPosted:Sat Oct 11, 2008 9:21 am
by jllort
Take a look at developer guide, the ide used is eclipse IDE and we\'ll change next release to Eclipse Europa + new jboss tools 2.X.

To use other IDE must config your self xdoclet to run ( you\'ve got a .xodclet.xml file on project ) you might try to run xdoclet on your ide as a ant task.