-
1. Re: how to change the context root for a jboss web application
tcunning Mar 21, 2014 1:41 PM (in response to csmatyi)Which version of JBoss AS are you using? I believe in order to use the root context, you need to package your application into ROOT.war.
Context-root can change the context name, but I don't believe it can change it to the root.
-
2. Re: how to change the context root for a jboss web application
csmatyi Apr 17, 2014 6:25 PM (in response to tcunning)I'm using Jboss version 5.1.0.GA
-
3. Re: how to change the context root for a jboss web application
tcunning Apr 22, 2014 9:55 AM (in response to csmatyi)In that case, you need to alter the ROOT.war already packaged in jboss-5.1.0.GA.
-
4. Re: how to change the context root for a jboss web application
csmatyi Aug 22, 2014 2:06 PM (in response to tcunning)Hi! Got the problemo solved. Yet, I
have a new problemo:I am trying to set up my website in
a VM.I have been trying to fix the bugs
in jboss when starting up
our database in the vm.Maven builds the database fine, and
the run script also starts up, but there are still errors.I set the proper ip address in
/etc/hosts:test-lpxr config # cat /etc/hosts
- 127.0.0.1 localhost
localhost.localdomain
localhost4 localhost4.localdomain4
::1
localhost localhost.localdomain localhost6 localhost6.localdomain6- 172.16.16.129 rito-c64
rito-c64.unmc.medforest.org c64 - 192.168.58.129 test-lpxr.uwv.edu test-lpxr
For some reason the programs must
not be configured
properly, in the latest error.I suspect there might be some sort
of connection error,
though I am sure the connection to the db is configured fine, and that the user
has access to it:test-lpxr config # cat
hibernate.properties.mysql#The database parameters
- hibernate.connection.username=bioinvindex
- hibernate.connection.password=password
- hibernate.connection.url=jdbc:mysql://localhost/bioinvasion
- hibernate.connection.driver_class=com.mysql.jdbc.Driver
- hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
# Change these paths as you need
- hibernate.search.default.indexBase=/lpxr_270gb/lucene/
# Change this to get some debug info
hibernate.show_sql=false
# This shouldn't need to be changed
- hibernate.search.default.directory_provider=org.hibernate.search.store.FSDirectoryProvider
- hibernate.hbm2ddl.auto=update
- hibernate.search.indexing_strategy=manual
- hibernate.mapping.precedence=hbm,class
Also, the user bioinvindex @
localhost has all privileges in
the mysql.user table in MySQL.What do you think the error could
be? - 127.0.0.1 localhost