[jboss-user] [JCA/JBoss] - Re: late data source initialization

2007-03-14 Thread sshrestha
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 |

[jboss-user] [JCA/JBoss] - Re: late data source initialization

2007-03-14 Thread sshrestha
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-user] [JCA/JBoss] - Re: late data source initialization

2007-03-14 Thread sshrestha
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-user] [JCA/JBoss] - late data source initialization

2007-03-13 Thread sshrestha
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

[jboss-user] [JCA/JBoss] - Re: late data source initialization

2007-03-13 Thread sshrestha
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 |

[jboss-user] [JCA/JBoss] - Re: late data source initialization

2007-03-13 Thread sshrestha
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

[jboss-user] [JCA/JBoss] - Re: late data source initialization

2007-03-13 Thread sshrestha
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 :

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: [TomcatDeployer] Failed to map vhost: xxx.domain.com

2007-03-11 Thread sshrestha
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-user] [Tomcat, HTTPD, Servlets JSP] - [TomcatDeployer] Failed to map vhost: xxx.domain.com

2007-03-09 Thread sshrestha
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

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: [TomcatDeployer] Failed to map vhost: xxx.domain.com

2007-03-09 Thread sshrestha
xxx.domain.com View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4026737#4026737 Reply to the post :

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: [TomcatDeployer] Failed to map vhost: xxx.domain.com

2007-03-09 Thread sshrestha
sshrestha wrote : | | | | | | | | | xxx.domain.com | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: [TomcatDeployer] Failed to map vhost: xxx.domain.com

2007-03-09 Thread sshrestha
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 ___

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: [TomcatDeployer] Failed to map vhost: xxx.domain.com

2007-03-09 Thread sshrestha
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 |

[jboss-user] [Beginners Corner] - log4j:ERROR Could not parse url with jboss

2007-03-08 Thread sshrestha
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]

[jboss-user] [Installation, Configuration Deployment] - Re: Virtual hosts with Apache (https) and JBoss

2007-03-08 Thread sshrestha
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

[jboss-user] [Installation, Configuration Deployment] - Re: Virtual hosts with Apache (https) and JBoss

2007-03-08 Thread sshrestha
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

[jboss-user] [Installation, Configuration Deployment] - Virtual hosts with Apache (https) and JBoss

2007-03-07 Thread sshrestha
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