总是部署不成功,请问why

06-09-18 newsun21cn

部署jivejdon3到jboss,按照readme,内容如下

JiveJdon 3.0 is the application of Jdon Framework 1.4 final.

MySQL JDBC configuration:

populate all databases in ddl directory.

there are two database: jive and security

mysql_forum.sql/mysql_user.sql ==> jive

mysql_auth.sql ==> security

JBoss configuration:

1. copy strutslib/*.jar to jboss/server/default/lib

2. copy lib/*.jar to jboss/server/default/lib

3. copy mysql-ds.xml to jboss/server/default/deploy, and edit the mysql-ds.xml, modify the user-name

and password for the database

Tomcat configuration:

1. copy strutslib/*.jar to tomcat/common/lib

2. copy lib/*.jar to tomcat/common/lib

3. copy lib/log4j.properties to tomcat/common/classes

if you want to active log output file , remove the "#" of below line in the log4j.properties:

#log4j.appender.R.File=D:/javaserver/jakarta-tomcat-5.0.28/logs/tomcat.log

change to your log file that must have full path;

4. if you user MySQL , copy servletlib/mysql-*.jar to tomcat/common/lib

5. confiure the database JNDI in the server.conf, there two JNDI: JiveJdonDS and Security,

so , you wll modify the jdonframework.xml in the project:

<component name="jdbcTempSource"

class="com.jdon.jivejdon.dao.sql.JdbcTempSource">

<constructor value="java:comp/env/JiveJdonDS"/>

</component>

<component name="jdbcTempSSOSource"

class="com.jdon.jivejdon.dao.sql.JdbcTempSSOSource">

<constructor value="java:comp/env/Security"/>

</component>

browse: http://localhost:8080/jivejdon3/

the development manual(for Jdon VIP):

http://www.jdon.com/my/train/controllAction.do

最后总是提示:

The requested resource (/jivejdon3/) is not available.

banq
2006-09-18 17:31

》The requested resource (/jivejdon3/) is not available

部署时有错误,需要看看jboss/server/detfault/log/server.log记录