主题 : jeecms多站点建设 |
级别: 童生
|
12# 发表于:2011-02-23 11:05:29 IP:222.187.*.*
版主:如何在URL栏里输入相应的域名然后就直接到JEECMS网站的主页上啦;然道不是用apache配置的吗?一个程序好多站点,而程序默认路径是一个啊;那个apache配置就有点迷糊啦;望赐教!!!!
|
||
---|---|---|---|
级别: 童生
|
14# 发表于:2011-02-23 12:58:01 IP:222.187.*.*
一个域名对应一个网站啊;比如我用JEECMS3.2建了两个站点;第一个站点直接访问程序的tomcat的路径就可以啦;但我用apache把网站与域名绑定如下
<VirtualHost *:80> ServerName www.sitename.com ProxyPass / http://localhost:8080/jeecms/ ProxyPassReverse / http://localhost:8080/jeecms/ </VirtualHost> 可是用域名访问时能出站点,但是样式啥的都加载不上;可能apache只认tomcat 8080根目录;如果部署到ROOT路径的话;倒是可以用;但子站该怎么配置呢;请教; |
||
---|---|---|---|
级别: 童生
|
16# 发表于:2011-02-23 22:36:01 IP:121.82.*.*
版主:我试了试JEEBBS,导入Eclipse没有问题;部署到tomcat后;启动就是启动不了;报错
然后直接在网上下载BBS程序直接部署到tomcat,安装一切正常;并提示安装成功;但等重启tomcat的时候就像源程序编译后部署到tomcat上的错是一样的; 信息: Deploying web application directory jeebbs 2011-02-23 10:16 INFO c.j.b.c.BbsForumCacheSvcImpl - 系统启动,设置论坛板块BbsF orum缓存 2011-02-23 10:16 INFO c.j.b.c.BbsGlobalCacheSvcImpl - 系统启动,设置论坛全局Bbs Config缓存 2011-02-23 10:16 INFO c.j.b.c.BbsTopicCacheSvcImpl - 系统启动,设置论坛主题BbsT opic缓存 2011-02-23 10:16 DEBUG c.j.b.c.BbsMemberCacheSvcImpl - 系统启动,设置论坛会员Bbs Member缓存 2011-02-23 10:16 INFO c.j.c.w.ApplicationListener - 系统启动,读取所有站点信息 到缓存。 Hibernate: select this_.WEBSITE_ID as WEBSITE1_11_0_, this_.DOMAIN as DOMAIN11_0 _, this_.RES_PATH as RES3_11_0_, this_.LFT as LFT11_0_, this_.RGT as RGT11_0_, t his_.RES_DOMAIN as RES6_11_0_, this_.BASE_DOMAIN as BASE7_11_0_, this_.DOMAIN_AL IAS as DOMAIN8_11_0_, this_.NAME as NAME11_0_, this_.SHORT_NAME as SHORT10_11_0_ , this_.SUFFIX as SUFFIX11_0_, this_.CURRENT_SYSTEM as CURRENT12_11_0_, this_.CO OKIE_KEY as COOKIE13_11_0_, this_.OWNER_NAME as OWNER14_11_0_, this_.OWNER_IDENT ITY as OWNER15_11_0_, this_.COMPANY as COMPANY11_0_, this_.COPYRIGHT as COPYRIGH T11_0_, this_.RECORD_CODE as RECORD18_11_0_, this_.EMAIL as EMAIL11_0_, this_.PH ONE_CODE as PHONE20_11_0_, this_.MOBILE_CODE as MOBILE21_11_0_, this_.CREATE_TIM E as CREATE22_11_0_, this_.EMAIL_CHARSET as EMAIL23_11_0_, this_.EMAIL_HOSTNAME as EMAIL24_11_0_, this_.EMAIL_ACCOUNT as EMAIL25_11_0_, this_.EMAIL_USER_NAME as EMAIL26_11_0_, this_.EMAIL_USER_ID as EMAIL27_11_0_, this_.EMAIL_USER_PWD as EM AIL28_11_0_, this_.EMAIL_SUBJECT as EMAIL29_11_0_, this_.EMAIL_CONTENT as EMAIL3 0_11_0_, this_.CONTROL_FRONT_IPS as CONTROL31_11_0_, this_.CONTROL_ADMIN_IPS as CONTROL32_11_0_, this_.CONTROL_RESERVED as CONTROL33_11_0_, this_.CONTROL_NAME_M INLEN as CONTROL34_11_0_, this_.CLOSE_REASON as CLOSE35_11_0_, this_.IS_CLOSE as IS36_11_0_, this_.PARENT as PARENT11_0_, this_.GLOBAL_ID as GLOBAL38_11_0_ from CORE_WEBSITE this_ 2011-2-23 22:16:53 org.apache.catalina.core.StandardContext start 严重: Error filterStart 2011-2-23 22:16:53 org.apache.catalina.core.StandardContext start 严重: Context [/jeebbs] startup failed due to previous errors 2011-02-23 10:16 INFO c.j.b.c.BbsForumCacheSvcImpl - 系统关闭,论坛板块BbsForum 缓存入库 2011-02-23 10:16 INFO c.j.b.c.BbsForumCacheSvcImpl - clear cache. isAll:true 2011-02-23 10:16 INFO c.j.b.c.BbsForumCacheSvcImpl - clear 0 counts,remain 0 co unts 2011-02-23 10:16 INFO c.j.b.c.BbsGlobalCacheSvcImpl - 系统关闭,论坛全局BbsConf ig缓存入库 2011-02-23 10:16 INFO c.j.b.c.BbsGlobalCacheSvcImpl - clear cache. 2011-02-23 10:16 INFO c.j.b.c.BbsTopicCacheSvcImpl - 系统关闭,论坛主题BbsTopic 缓存入库 2011-02-23 10:16 INFO c.j.b.c.BbsTopicCacheSvcImpl - bbsTopic clear cache. 2011-02-23 10:16 INFO c.j.b.c.BbsTopicCacheSvcImpl - clear all 0 counts 2011-02-23 10:16 DEBUG c.j.b.c.BbsMemberCacheSvcImpl - 系统关闭,论坛会员BbsMemb er缓存入库 2011-02-23 10:16 INFO c.j.b.c.BbsMemberCacheSvcImpl - clear cache isAll:true 2011-02-23 10:16 DEBUG c.j.b.c.BbsMemberCacheSvcImpl - clear 0 counts,remain 0 c ounts 2011-2-23 22:16:53 org.apache.catalina.loader.WebappClassLoader clearReferencesJ dbc 严重: A web application registered the JBDC driver [com.mysql.jdbc.Driver] but f ailed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 2011-2-23 22:16:53 org.apache.catalina.loader.WebappClassLoader clearReferencesT hreads 严重: A web application appears to have started a thread named [HouseKeeper] but has failed to stop it. This is very likely to create a memory leak. 2011-2-23 22:16:53 org.apache.catalina.loader.WebappClassLoader clearReferencesS topTimerThread 严重: A web application appears to have started a TimerThread named [MySQL State ment Cancellation Timer] via the java.util.Timer API but has failed to stop it. To prevent a memory leak, the timer (and hence the associated thread) has been f orcibly cancelled. 2011-2-23 22:16:53 org.apache.catalina.loader.WebappClassLoader clearReferencesT hreads 严重: A web application appears to have started a thread named [org.springframew ork.scheduling.quartz.SchedulerFactoryBean#0_Worker-1] but has failed to stop it . This is very likely to create a memory leak. 2011-2-23 22:16:53 org.apache.catalina.loader.WebappClassLoader clearReferencesT hreads 严重: A web application appears to have started a thread named [org.springframew ork.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] but has failed to stop it . This is very likely to create a memory leak. 2011-2-23 22:16:53 org.apache.catalina.loader.WebappClassLoader clearReferencesT hreads 严重: A web application appears to have started a thread named [org.springframew ork.scheduling.quartz.SchedulerFactoryBean#0_Worker-4] but has failed to stop it . This is very likely to create a memory leak. 2011-2-23 22:16:53 org.apache.catalina.loader.WebappClassLoader clearReferencesT hreads 严重: A web application appears to have started a thread named [org.springframew ork.scheduling.quartz.SchedulerFactoryBean#0_Worker-5] but has failed to stop it . This is very likely to create a memory leak. 2011-2-23 22:16:53 org.apache.catalina.loader.WebappClassLoader clearReferencesT hreads 严重: A web application appears to have started a thread named [org.springframew ork.scheduling.quartz.SchedulerFactoryBean#0_Worker-6] but has failed to stop it . This is very likely to create a memory leak. 2011-2-23 22:16:53 org.apache.catalina.loader.WebappClassLoader clearReferencesT hreads 严重: A web application appears to have started a thread named [org.springframew ork.scheduling.quartz.SchedulerFactoryBean#0_Worker-7] but has failed to stop it . This is very likely to create a memory leak. 2011-2-23 22:16:53 org.apache.catalina.loader.WebappClassLoader clearReferencesT hreads 严重: A web application appears to have started a thread named [org.springframew ork.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] but has failed to stop it . This is very likely to create a memory leak. 2011-2-23 22:16:53 org.apache.catalina.loader.WebappClassLoader clearReferencesT hreads 严重: A web application appears to have started a thread named [org.springframew ork.scheduling.quartz.SchedulerFactoryBean#0_Worker-10] but has failed to stop i t. This is very likely to create a memory leak. 2011-2-23 22:16:53 org.apache.catalina.loader.WebappClassLoader clearReferencesT hreads 严重: A web application appears to have started a thread named [Prototyper] but has failed to stop it. This is very likely to create a memory leak. 2011-2-23 22:16:53 org.apache.catalina.loader.WebappClassLoader clearThreadLocal Map 严重: A web application created a ThreadLocal with key of type [null] (value [co m.opensymphony.xwork2.inject.ContainerImpl$10@1019275]) and a value of type [jav a.lang.Object[]] (value [[Ljava.lang.Object;@365c90]) but failed to remove it wh en the web application was stopped. To prevent a memory leak, the ThreadLocal ha s been forcibly removed. 2011-2-23 22:16:53 org.apache.catalina.loader.WebappClassLoader clearThreadLocal Map |
||
---|---|---|---|
级别: 童生
|
17# 发表于:2011-02-24 08:47:03 IP:59.133.*.*
实在安装不行的话,您可以自己导入下数据库。在jeebbs\install\db下有sql,把这个在数据库中执行一下,然后把jeebbs\install \config下的web.xml复制出来,覆盖掉jeebbs\WEB-INF下的web.xml。最后修改下jeebbs\WEB-INF\classes下的 jdbc.properties即可
|
||
---|---|---|---|
级别: 童生
|
18# 发表于:2011-02-24 09:09:33 IP:222.187.*.*
您说的这个我做过;就是把源代码导入到Eclipse里,然后将数据库文件导入到MYSQL里;错误与那个直接用程序一样;我不太明白为什么;导入数据库时并没有出错;但是重启tomcat后就是那个错误;可能是有的地做的还不够 对吧;
|
||
---|---|---|---|