Miguel Muñoz created OPENMEETINGS-997:
-----------------------------------------

             Summary: error installing with mssql 
                 Key: OPENMEETINGS-997
                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-997
             Project: Openmeetings
          Issue Type: Bug
    Affects Versions: 3.0.1
         Environment: windows 2008 r2
            Reporter: Miguel Muñoz


I was not able to configure mssql during the install process. I changed the 
persistence.xml, added sqljdbc4.jar (or sqljdbc.jar) and tried to install using 
the command line and the web ui, both of them failed. 
When I use the command line I get the following error:
-----
Setting default logging context: default
[ERROR] [main] org.apache.openmeetings.cli.Admin - Install failed
java.lang.IllegalArgumentException: No enum constant 
org.apache.openmeetings.cli.ConnectionProperties.DbType.mssql
        at java.lang.Enum.valueOf(Enum.java:236) ~[na:1.7.0_45]
        at 
org.apache.openmeetings.cli.ConnectionProperties$DbType.valueOf(ConnectionProperties.java:22)
 ~[openmeetings-cli-3.0.1-RELEASE.jar:na]
        at 
org.apache.openmeetings.cli.ConnectionPropertiesPatcher.getPatcher(ConnectionPropertiesPatcher.java:46)
 ~[openmeetings-cli-3.0.1-RELEASE.jar:na]
        at org.apache.openmeetings.cli.Admin.process(Admin.java:253) 
[openmeetings-cli-3.0.1-RELEASE.jar:na]
        at org.apache.openmeetings.cli.Admin.main(Admin.java:625) 
[openmeetings-cli-3.0.1-RELEASE.jar:na]
----- 
I'm using the command:
-----
admin.bat -i -v -tz Europe/Berlin ^
        -group gusers ^
        -user admin --password xxxx --email s...@email.com  ^
        --smtp-server correu.upc.es --system-email-address s...@email.com ^
        --email-auth-user s...@email.com  --email-auth-pass somepass ^
        --email-use-tls yes --disable-frontend-register yes ^
        --db-type mssql --db-host localhost --db-port 1433 ^
        --db-name openmeetings --db-user openmeetings --db-pass somepass
---
The web ui install also failed with an error related with language.xml...





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to