You need to replace the web.xml with the jboss-ws-native-web.xml file in docs/examples/appserver/jboss :

http://svn.apache.org/repos/asf/juddi/trunk/docs/examples/appserver/jboss/jbossws-native-web.xml

On 03/28/2011 02:04 AM, Alexandr Nikolaev wrote:
-----Original Message-----

Hi, help me please to correctly run Juddi 3.0.4 under JBossAS-5.1.GA. I've 
finally deployed it with no exceptions
and start page (http://localhost:8080/juddi) is ok. But i can't access any 
service endpoints
like http://localhost:8080/juddi/services/inquire 
(http://localhost:8080/juddiv3/services/inquire).
Services page http://localhost:8080/juddi/services is unaccessible too.

I made the following steps:

1. Install JBoss-5.1.0-GA (jdk6)
2. Deploy jboss jbossws-cxf-3.2.0.GA
3. Create datasource JuddiDS with empty db (postgress)
4. Build Juddi 3.0.4 from source with "mvn clean install 
-Dpersistence=hibernate"
    (binary dist version use openjpa by default)
5. Unpack juddi.war (from juddiv3-war/target folder)
6. Create WEB-INF/jboss-web.xml just like here 
http://juddi.apache.org/docs/3.0/userguide/html/chap-deployjboss.html
7. Fix WEB-INF/classes/META-INF/persistence.xml, set non-jta datasource and 
hibernate dialect
8. Remove installed by default juddi-service.sar from jboss deploy folder
9. Replace juddi.war/WEB-INF/lib/juddi-core-openjpa-3.0.4.jar with 
juddi-core-3.0.4.jar built from source (juddi-core/target)
    (without it i got persistence exceptions on deployment)
10. Deploy juddi.war folder to jboss

What am i doing wrong?

Thanks in advance

--
Best regards,
Alex Nikolaev





Reply via email to