my mysql-ds.xml file:
| ?xml version=1.0 encoding=UTF-8?
|
| !-- $Id: mysql-ds.xml,v 1.3.2.3 2006/02/07 14:23:00 acoliver Exp $ --
| !-- Datasource config for MySQL using 3.0.9 available from:
| http://www.mysql.com/downloads/api-jdbc-stable.html
| --
| datasources
|
This is what my vhost entry looks like in server.xml file:
| Host name=xxx.mydomain.com autoDeploy=false
deployOnStartup=false deployXML=false appBase=deploy unpackWARs=true
| Aliasyyy.mydomain.com/Alias
|
| Valve
This is what my vhost entry looks like in server.xml file:
| Host name=xxx.mydomain.com autoDeploy=false
deployOnStartup=false deployXML=false appBase=deploy unpackWARs=true
| Aliasyyy.mydomain.com/Alias
|
| Valve
JBoss: 4.0.4, jvm: sun j2se 1.5.0_10
I have a struts/hibernate webapp deployed in server/defcp/deploy/myApp.war and
it uses a data source bound to jndi. Problem is the webapp/hibernate seems to
start to initialize before the datasources are initialized: so the application
initialization fails
I have added depends element in the jboss-web.xml, no change in results:
here is my jboss-web.xml file:
| ?xml version=1.0 encoding=UTF-8?
| !DOCTYPE jboss-web PUBLIC -//JBoss//DTD Web Application 2.3V2//EN
http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd;
|
| jboss-web
|
data source is deployed in deploy dir: mysql-ds.xml.
changed dtd version to 4_0.
still the same results.
by the way I don't have this problem if I deploy the application as a war file
(myApp.war) directly in the deploy directory.
The reason I am deploying in myApp.war directory is to be able to
yes, this problem only occurs if I am deploying the application in a expanded
directory (to be clearer: myApp.war is a directory: where I do jar -xf app.war).
and not if I deploy it as app.war (a war file) in deploy dir.
View the original post :
Raist_Majere wrote : host name=blablabla ... must be a valid DNS server
name, so if vhost2 is not a registered name of the server, you cannot use it
(or at least is what the tomcat documentation says...). Try changing in it to
www.xxxdomain.com and have it on the DNS (or at least on the hosts
JBoss: 4.0.4
JVM: Sun J2SE 1.5.0_10.
Plattform: Fedora Core 4 Linux
I have added a second element in server.xml, but it throws a Failed to map
vhost. I also have the vhost mapped in jboss-web.xml:
context-root//context-root
virtual-hostxxx.domain.com/virtual-host
Any suggestion is
xxx.domain.com
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026737#4026737
Reply to the post :
sshrestha wrote :
|
|
|
|
|
|
|
|
| xxx.domain.com
|
|
|
|
|
|
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp
click on quote to view the part of the server.xml file
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026756#4026756
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026756
___
This is the second Service element added.
|Service name=my.web
className=org.jboss.web.tomcat.tc5.StandardService
|
| Connector port=8181 address=10.0.2.23
| maxThreads=250 strategy=ms maxHttpHeaderSize=8192
| emptySessionPath=true
|
I am getting /jboss/jboss-4.0.4.GA/server/default/conf/log4j.xml after
deploying an application.
Here is the stack trace below. Thanks for help.
10:14:59,383 ERROR [STDERR] log4j:ERROR
org.jboss.logging.util.OnlyOnceErrorHandler was loaded by [EMAIL PROTECTED]
10:14:59,461 ERROR [STDERR]
I am fairly new JBoss, so my question basically is it possible to delegate
Virual Host handling to Apache?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026311#4026311
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026311
Apache's Virtual Hosting offers a very flexible solution regarding ssl handling
especially because if you have multiple ssl virtual hosts, you can assign
different ip addresses to different hosts so that ssl certificates are
displayed correctly. So another question would be can JBoss handle
I have got the virtual hosting with JBoss working. When you deploy a webapp
(in WEB-INF/jboss-web.xml) with
context-root//context-root
virtual-hostwww.xxx.com/virtual-host
JBoss creates temp dir inside the work dir.
So, it seems there is really no way I can define a DocumentRoot in apache's
17 matches
Mail list logo