#227 ✓resolved
tpilz

Windows Path Problem

Reported by tpilz | March 10th, 2011 @ 05:42 AM | in Rundeck 1.2

Hi Devs,

i am trying to run Rundeck on my Windows Boxes (XP, Windows 7 Prof.) and got the following Error when starting Rundeck from the Command Line (here Win 7 Prof.):

C:>cd %RDECK_BASE%

C:\entwicklung\buildumgebung\rundeck>java -jar rundeck-launcher-1.1.0.jar
WARNING: HTTPS is not enabled, specify -Drundeck.ssl.config=C:\entwicklung\buildumgebung\rundeck/ser
ver/config/ssl.properties to enable.
2011-03-10 14:03:03.776::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2011-03-10 14:03:03.858::INFO: jetty-6.1.21
log4j:ERROR setFile(null,true) call failed.
undeckserver\logs\rundeck.log (Die Syntax f³r den Dateinamen, Verzeichnisnamen oder die Datentrõgerb
ezeichnung ist falsch)
....

Java Version:
C:\entwicklung\buildumgebung\rundeck>java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)

Best regards,

Thomas

Comments and changes to this ticket

  • tpilz

    tpilz March 10th, 2011 @ 05:43 AM

    • no changes were found...
  • Alex-SF

    Alex-SF March 11th, 2011 @ 09:17 AM

    Hi tpilz,

    I think this bug is in the rundeck configuration. Can you take a look at the rundeck-config.properties and rundeck.properties files? I think there are file path separator problems.

  • Alex-SF

    Alex-SF March 11th, 2011 @ 09:19 AM

    • Milestone set to Rundeck 1.3
    • Milestone order changed from “17” to “0”
  • tpilz

    tpilz March 11th, 2011 @ 02:32 PM

    Something is wrong with the pathes.

    etc\log4j.properties:
    #

    file - DailyRollingFileAppender

    # log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
    log4j.appender.file.file=D:\Entwicklung\buildumgebung\rundeck\var\logs/command.log
    log4j.appender.file.datePattern='.'yyyy-MM-dd
    log4j.appender.file.append=true
    log4j.appender.file.layout=org.apache.log4j.PatternLayout
    log4j.appender.file.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c - %m%n

    server\exp\webapp\WEB-INF\classes\log4j.properties:
    #

    file - DailyRollingFileAppender

    # log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
    log4j.appender.file.file=D:\Entwicklung\buildumgebung\rundeck\server/logs${file.separator}rundeck.log
    log4j.appender.file.datePattern='.'yyyy-MM-dd
    log4j.appender.file.append=true
    log4j.appender.file.layout=org.apache.log4j.PatternLayout
    log4j.appender.file.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c - %m%n

    log4j.logger.org.codehaus.groovy.grails.plugins.quartz=debug,stdout

    log4j.additivity.org.codehaus.groovy.grails.plugins.quartz=false

    #

    audit

    # log4j.appender.audit=org.apache.log4j.DailyRollingFileAppender
    log4j.appender.audit.file=D:\Entwicklung\buildumgebung\rundeck\server/logs${file.separator}rundeck.audit.log
    log4j.appender.audit.append=true
    log4j.appender.audit.layout=org.apache.log4j.PatternLayout
    log4j.appender.audit.layout.ConversionPattern=%d{ISO8601} - %m%n

    Thomas

  • Alex-SF

    Alex-SF March 11th, 2011 @ 02:34 PM

    Yes, the path separators are not correct. They should have a "\" since these are java properties.

    Can you try adding the extra "" to the config files to see if that resolves it?

  • tpilz

    tpilz March 11th, 2011 @ 02:44 PM

    Thanks, the following config works for me:

    etc\log4j.properties:
    log4j.appender.file.file=D:\Entwicklung\buildumgebung\rundeck\command.log

    server\exp\webapp\WEB-INF\classes\log4j.properties:
    log4j.appender.file.file=D:\Entwicklung\buildumgebung\rundeck\server\rundeck.log
    log4j.appender.audit.file=D:\Entwicklung\buildumgebung\rundeck\server\rundeck.audit.log

    Best regards,

    Thomas

  • tpilz

    tpilz March 11th, 2011 @ 02:49 PM

    Now i have problems to login with admin:admin

    2011-03-11 23:46:13.757:/:INFO: Initializing Spring root WebApplicationContext
    using rdeck.base system property: D:\Entwicklung\buildumgebung\rundeck

    Installed outputstreams.

    Started log4j report input server on port: 4435
    2011-03-11 23:46:36.477:/:INFO: Initializing Spring FrameworkServlet 'grails'
    2011-03-11 23:46:36.517::INFO: Started SocketConnector@0.0.0.0:4440
    2011-03-11 23:47:24.326::WARN: No property file found
    2011-03-11 23:47:24.351::WARN: javax.security.auth.login.LoginException: java.l
    ang.IllegalStateException: No property file specified in login module configurat
    ion file

        at org.mortbay.jetty.plus.jaas.spi.PropertyFileLoginModule.loadPropertie
    

    s(PropertyFileLoginModule.java:86)

        at org.mortbay.jetty.plus.jaas.spi.PropertyFileLoginModule.initialize(Pr
    

    opertyFileLoginModule.java:60)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at javax.security.auth.login.LoginContext.invoke(Unknown Source)
        at javax.security.auth.login.LoginContext.access$000(Unknown Source)
        at javax.security.auth.login.LoginContext$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.login.LoginContext.invokePriv(Unknown Source)
        at javax.security.auth.login.LoginContext.login(Unknown Source)
        at org.mortbay.jetty.plus.jaas.JAASUserRealm.authenticate(JAASUserRealm.
    

    java:231)

        at org.mortbay.jetty.security.FormAuthenticator$FormCredential.authentic
    

    ate(FormAuthenticator.java:284)

        at org.mortbay.jetty.security.FormAuthenticator.authenticate(FormAuthent
    

    icator.java:137)

        at org.mortbay.jetty.security.SecurityHandler.check(SecurityHandler.java
    

    :441)

        at org.mortbay.jetty.security.SecurityHandler.checkSecurityConstraints(S
    

    ecurityHandler.java:269)

        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
    

    a:191)

        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
    

    82)

        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
    

    65)

        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
    
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
    

    52)

        at org.mortbay.jetty.Server.handle(Server.java:326)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:53
    

    6)

        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnectio
    

    n.java:930)

        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
        at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.
    

    java:228)

        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.j
    

    ava:582)

    2011-03-11 23:47:24.361::WARN: AUTH FAILURE: user admin

  • Deleted User

    Deleted User March 14th, 2011 @ 04:26 PM

    • State changed from “new” to “resolved”

    (from [7d152c84d027d6af0171f5681ce3c7db7377706a]) Fix path issues in properties files for launcher on windows [#227 state:resolved] https://github.com/dtolabs/rundeck/commit/7d152c84d027d6af0171f5681...

  • Greg Schueler

    Greg Schueler March 14th, 2011 @ 05:53 PM

    • Tag set to launcher, windows
    • Milestone changed from Rundeck 1.3 to Rundeck 1.2
    • Assigned user set to “Greg Schueler”
    • Milestone order changed from “8” to “0”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues

Shared Ticket Bins

People watching this ticket

Attachments

Referenced by

Pages