New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy to Tomcat by dropping .WAR into webapps folder stops root app working #192

Closed
leggetter opened this Issue Oct 29, 2013 · 8 comments

Comments

Projects
None yet
4 participants
@leggetter
Contributor

leggetter commented Oct 29, 2013

Steps to reproduce:

  1. Create .WAR file ./brjs war brjs-todo
  2. Ensure Tomcat isn't running
  3. copy brjs-todo.war into tomcat/webapps
  4. Start tomcat e.g. bin/startup.sh
  5. Navigate to localhost:8080 and get a 500 error
  6. Navigate to localhost:8080/brjs-todo and the app works fine

The problem is that we don't want our WAR affecting other apps.

Logs:

localhost.log

Oct 29, 2013 11:20:30 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Oct 29, 2013 11:20:30 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Oct 29, 2013 11:20:30 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@c68bfe0')
Oct 29, 2013 11:20:39 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Oct 29, 2013 11:20:39 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Oct 29, 2013 11:21:00 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Oct 29, 2013 11:21:00 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Oct 29, 2013 11:21:00 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@734f6fe1')
Oct 29, 2013 11:21:00 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [jsp] in context with path [] threw exception [java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl] with root cause
java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl
    at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:1023)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:85)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:724)

catalina.log

Oct 29, 2013 11:20:29 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/leggetter/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
Oct 29, 2013 11:20:30 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Oct 29, 2013 11:20:30 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Oct 29, 2013 11:20:30 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 429 ms
Oct 29, 2013 11:20:30 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Oct 29, 2013 11:20:30 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.42
Oct 29, 2013 11:20:30 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /Users/leggetter/dev-tools/apache-tomcat-7.0.42/webapps/docs
Oct 29, 2013 11:20:30 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /Users/leggetter/dev-tools/apache-tomcat-7.0.42/webapps/examples
Oct 29, 2013 11:20:30 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /Users/leggetter/dev-tools/apache-tomcat-7.0.42/webapps/host-manager
Oct 29, 2013 11:20:30 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /Users/leggetter/dev-tools/apache-tomcat-7.0.42/webapps/manager
Oct 29, 2013 11:20:30 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /Users/leggetter/dev-tools/apache-tomcat-7.0.42/webapps/ROOT
Oct 29, 2013 11:20:30 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Oct 29, 2013 11:20:30 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Oct 29, 2013 11:20:30 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 447 ms
Oct 29, 2013 11:20:39 AM org.apache.catalina.core.StandardServer await
INFO: A valid shutdown command was received via the shutdown port. Stopping the Server instance.
Oct 29, 2013 11:20:39 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8080"]
Oct 29, 2013 11:20:39 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
Oct 29, 2013 11:20:39 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Oct 29, 2013 11:20:39 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8080"]
Oct 29, 2013 11:20:39 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
Oct 29, 2013 11:20:39 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8080"]
Oct 29, 2013 11:20:39 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
Oct 29, 2013 11:20:57 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/leggetter/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
Oct 29, 2013 11:20:57 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Oct 29, 2013 11:20:57 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Oct 29, 2013 11:20:57 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 432 ms
Oct 29, 2013 11:20:57 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Oct 29, 2013 11:20:57 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.42
Oct 29, 2013 11:20:57 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /Users/leggetter/dev-tools/apache-tomcat-7.0.42/webapps/brjs-todo.war
Oct 29, 2013 11:20:58 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/Users/leggetter/dev-tools/apache-tomcat-7.0.42/webapps/brjs-todo/WEB-INF/lib/brjs-jsp-api-2.1-glassfish-2.1.v20100127.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/el/Expression.class
Oct 29, 2013 11:21:00 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /Users/leggetter/dev-tools/apache-tomcat-7.0.42/webapps/docs
Oct 29, 2013 11:21:00 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /Users/leggetter/dev-tools/apache-tomcat-7.0.42/webapps/examples
Oct 29, 2013 11:21:00 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /Users/leggetter/dev-tools/apache-tomcat-7.0.42/webapps/host-manager
Oct 29, 2013 11:21:00 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /Users/leggetter/dev-tools/apache-tomcat-7.0.42/webapps/manager
Oct 29, 2013 11:21:00 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /Users/leggetter/dev-tools/apache-tomcat-7.0.42/webapps/ROOT
Oct 29, 2013 11:21:00 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Oct 29, 2013 11:21:00 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Oct 29, 2013 11:21:00 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2716 ms

If you follow similar steps but instead of deploying by dropping the .WAR file into the directory you use the app manager and deploy via the web interface then the 500 error doesn't happen.

@andyberry88

This comment has been minimized.

Show comment
Hide comment
@andyberry88

andyberry88 Oct 29, 2013

Member

What version of Tomcat are you using?
Can you try removing the glassfish-jsp jar from your apps WEB-INF/lib before creating the war?

Member

andyberry88 commented Oct 29, 2013

What version of Tomcat are you using?
Can you try removing the glassfish-jsp jar from your apps WEB-INF/lib before creating the war?

@ghost ghost assigned leggetter Dec 2, 2013

@andyberry88

This comment has been minimized.

Show comment
Hide comment
@andyberry88

andyberry88 Dec 17, 2013

Member

@leggetter is this still an issue?

Member

andyberry88 commented Dec 17, 2013

@leggetter is this still an issue?

@leggetter

This comment has been minimized.

Show comment
Hide comment
@leggetter

leggetter Jan 16, 2014

Contributor

@sospirited You were looking at something very similar to this weren't you? Or was it @andyberry88? Either way, can whomever was please check this too?

Contributor

leggetter commented Jan 16, 2014

@sospirited You were looking at something very similar to this weren't you? Or was it @andyberry88? Either way, can whomever was please check this too?

@sospirited

This comment has been minimized.

Show comment
Hide comment
@sospirited

sospirited Jan 16, 2014

Member

@leggetter @andyberry88 yes, it's very much linked with the issue I saw recently when trying to deploy the node-style brjstodo app #311

Member

sospirited commented Jan 16, 2014

@leggetter @andyberry88 yes, it's very much linked with the issue I saw recently when trying to deploy the node-style brjstodo app #311

@sospirited

This comment has been minimized.

Show comment
Hide comment
@sospirited

sospirited Feb 4, 2014

Member

Currently the war command is broken because it uses the LegacyFileBundlerPlugin which has a hard-coded dependency on 'caplin-bootstrap'

org.bladerunnerjs.model.exception.command.CommandOperationException: Couldn't find library caplin-bootstrap

        at com.caplin.cutlass.command.war.WarCommand.createAspectBundles(WarCommand.java:168)
        at com.caplin.cutlass.command.war.WarCommand.exportWar(WarCommand.java:136)
        at com.caplin.cutlass.command.war.WarCommand.doCommand(WarCommand.java:109)
        at org.bladerunnerjs.utility.CommandRunner.run(CommandRunner.java:21)
        at org.bladerunnerjs.model.BRJS.runCommand(BRJS.java:330)
        at org.bladerunnerjs.utility.UserCommandRunner.doRunCommand(UserCommandRunner.java:31)
        at org.bladerunnerjs.utility.UserCommandRunner.run(UserCommandRunner.java:25)
        at org.bladerunnerjs.model.BRJS.runUserCommand(BRJS.java:335)
        at org.bladerunnerjs.runner.CommandRunner.run(CommandRunner.java:90)
        at org.bladerunnerjs.runner.CommandRunner.main(CommandRunner.java:44)
Caused by: Couldn't find library caplin-bootstrap
...
Member

sospirited commented Feb 4, 2014

Currently the war command is broken because it uses the LegacyFileBundlerPlugin which has a hard-coded dependency on 'caplin-bootstrap'

org.bladerunnerjs.model.exception.command.CommandOperationException: Couldn't find library caplin-bootstrap

        at com.caplin.cutlass.command.war.WarCommand.createAspectBundles(WarCommand.java:168)
        at com.caplin.cutlass.command.war.WarCommand.exportWar(WarCommand.java:136)
        at com.caplin.cutlass.command.war.WarCommand.doCommand(WarCommand.java:109)
        at org.bladerunnerjs.utility.CommandRunner.run(CommandRunner.java:21)
        at org.bladerunnerjs.model.BRJS.runCommand(BRJS.java:330)
        at org.bladerunnerjs.utility.UserCommandRunner.doRunCommand(UserCommandRunner.java:31)
        at org.bladerunnerjs.utility.UserCommandRunner.run(UserCommandRunner.java:25)
        at org.bladerunnerjs.model.BRJS.runUserCommand(BRJS.java:335)
        at org.bladerunnerjs.runner.CommandRunner.run(CommandRunner.java:90)
        at org.bladerunnerjs.runner.CommandRunner.main(CommandRunner.java:44)
Caused by: Couldn't find library caplin-bootstrap
...
@sospirited

This comment has been minimized.

Show comment
Hide comment
@sospirited

sospirited Feb 19, 2014

Member

Latest update is as follows:

  • Able to create a war for brjs-todo, but I get errors:
INFO: Error parsing input.js: Compilation produced 15 syntax errors. (input.js#1)
ERROR: There was an error while minifying, the error from the minifier was:
input.js:74939: ERROR - Parse error. missing formal parameter
exports.implement = function(implementor, interface) {
                                          ^

input.js:74945: ERROR - Parse error. identifier is a reserved word
                        br.implement(implementor, interface);
                                                  ^

input.js:74952: ERROR - Parse error. missing ) after argument list
};
 ^

input.js:74958: ERROR - Parse error. syntax error
});
^

input.js:75352: ERROR - Parse error. missing variable name
                var char = value.charAt(i);
                    ^

input.js:75353: ERROR - Parse error. identifier is a reserved word
                if (isNaN(char) === true) {
                          ^

input.js:75354: ERROR - Parse error. identifier is a reserved word
                        if (char === decimalPlaceCharacter) {
                            ^

input.js:75355: ERROR - Parse error. missing ; before statement
                                if (isDecimalPointFound == false) {
                                                                  ^

input.js:75356: ERROR - Parse error. syntax error
                                        joiner.push(".");
                                              ^

input.js:75360: ERROR - Parse error. missing ) after argument list
                } else {
                  ^

input.js:75361: ERROR - Parse error. syntax error
                        joiner.push(char);
                              ^

input.js:75362: ERROR - Parse error. syntax error
                }
                ^

input.js:75364: ERROR - Parse error. invalid return
        return joiner.join("");
        ^

input.js:75365: ERROR - Parse error. syntax error
};
^

input.js:75406: ERROR - Parse error. syntax error
});
^

15 error(s), 0 warning(s)

Feb 19, 2014 1:34:20 PM com.google.javascript.jscomp.parsing.ParserRunner parse
INFO: Error parsing input.js: Compilation produced 15 syntax errors. (input.js#1)
ERROR: There was an error while minifying, the error from the minifier was:
input.js:74939: ERROR - Parse error. missing formal parameter
exports.implement = function(implementor, interface) {
                                          ^

input.js:74945: ERROR - Parse error. identifier is a reserved word
                        br.implement(implementor, interface);
                                                  ^

input.js:74952: ERROR - Parse error. missing ) after argument list
};
 ^

input.js:74958: ERROR - Parse error. syntax error
});
^

input.js:75352: ERROR - Parse error. missing variable name
                var char = value.charAt(i);
                    ^

input.js:75353: ERROR - Parse error. identifier is a reserved word
                if (isNaN(char) === true) {
                          ^

input.js:75354: ERROR - Parse error. identifier is a reserved word
                        if (char === decimalPlaceCharacter) {
                            ^

input.js:75355: ERROR - Parse error. missing ; before statement
                                if (isDecimalPointFound == false) {
                                                                  ^

input.js:75356: ERROR - Parse error. syntax error
                                        joiner.push(".");
                                              ^

input.js:75360: ERROR - Parse error. missing ) after argument list
                } else {
                  ^

input.js:75361: ERROR - Parse error. syntax error
                        joiner.push(char);
                              ^

input.js:75362: ERROR - Parse error. syntax error
                }
                ^

input.js:75364: ERROR - Parse error. invalid return
        return joiner.join("");
        ^

input.js:75365: ERROR - Parse error. syntax error
};
^

input.js:75406: ERROR - Parse error. syntax error
});
^

15 error(s), 0 warning(s)

Successfully created war file
 D:\Development\git\brjs\cutlass-sdk\workspace\sdk\todo.war

Further to this, when I drop it into tomcat webapps folder, the served js bundle when viewed via Chrome's debugger has all sorts of strange characters.

�����w�ƕ0��}N��

This indicates that there's an encoding issue somewhere and we need to investigate further.

Member

sospirited commented Feb 19, 2014

Latest update is as follows:

  • Able to create a war for brjs-todo, but I get errors:
INFO: Error parsing input.js: Compilation produced 15 syntax errors. (input.js#1)
ERROR: There was an error while minifying, the error from the minifier was:
input.js:74939: ERROR - Parse error. missing formal parameter
exports.implement = function(implementor, interface) {
                                          ^

input.js:74945: ERROR - Parse error. identifier is a reserved word
                        br.implement(implementor, interface);
                                                  ^

input.js:74952: ERROR - Parse error. missing ) after argument list
};
 ^

input.js:74958: ERROR - Parse error. syntax error
});
^

input.js:75352: ERROR - Parse error. missing variable name
                var char = value.charAt(i);
                    ^

input.js:75353: ERROR - Parse error. identifier is a reserved word
                if (isNaN(char) === true) {
                          ^

input.js:75354: ERROR - Parse error. identifier is a reserved word
                        if (char === decimalPlaceCharacter) {
                            ^

input.js:75355: ERROR - Parse error. missing ; before statement
                                if (isDecimalPointFound == false) {
                                                                  ^

input.js:75356: ERROR - Parse error. syntax error
                                        joiner.push(".");
                                              ^

input.js:75360: ERROR - Parse error. missing ) after argument list
                } else {
                  ^

input.js:75361: ERROR - Parse error. syntax error
                        joiner.push(char);
                              ^

input.js:75362: ERROR - Parse error. syntax error
                }
                ^

input.js:75364: ERROR - Parse error. invalid return
        return joiner.join("");
        ^

input.js:75365: ERROR - Parse error. syntax error
};
^

input.js:75406: ERROR - Parse error. syntax error
});
^

15 error(s), 0 warning(s)

Feb 19, 2014 1:34:20 PM com.google.javascript.jscomp.parsing.ParserRunner parse
INFO: Error parsing input.js: Compilation produced 15 syntax errors. (input.js#1)
ERROR: There was an error while minifying, the error from the minifier was:
input.js:74939: ERROR - Parse error. missing formal parameter
exports.implement = function(implementor, interface) {
                                          ^

input.js:74945: ERROR - Parse error. identifier is a reserved word
                        br.implement(implementor, interface);
                                                  ^

input.js:74952: ERROR - Parse error. missing ) after argument list
};
 ^

input.js:74958: ERROR - Parse error. syntax error
});
^

input.js:75352: ERROR - Parse error. missing variable name
                var char = value.charAt(i);
                    ^

input.js:75353: ERROR - Parse error. identifier is a reserved word
                if (isNaN(char) === true) {
                          ^

input.js:75354: ERROR - Parse error. identifier is a reserved word
                        if (char === decimalPlaceCharacter) {
                            ^

input.js:75355: ERROR - Parse error. missing ; before statement
                                if (isDecimalPointFound == false) {
                                                                  ^

input.js:75356: ERROR - Parse error. syntax error
                                        joiner.push(".");
                                              ^

input.js:75360: ERROR - Parse error. missing ) after argument list
                } else {
                  ^

input.js:75361: ERROR - Parse error. syntax error
                        joiner.push(char);
                              ^

input.js:75362: ERROR - Parse error. syntax error
                }
                ^

input.js:75364: ERROR - Parse error. invalid return
        return joiner.join("");
        ^

input.js:75365: ERROR - Parse error. syntax error
};
^

input.js:75406: ERROR - Parse error. syntax error
});
^

15 error(s), 0 warning(s)

Successfully created war file
 D:\Development\git\brjs\cutlass-sdk\workspace\sdk\todo.war

Further to this, when I drop it into tomcat webapps folder, the served js bundle when viewed via Chrome's debugger has all sorts of strange characters.

�����w�ƕ0��}N��

This indicates that there's an encoding issue somewhere and we need to investigate further.

@dchambers

This comment has been minimized.

Show comment
Hide comment
@dchambers

dchambers Feb 19, 2014

Contributor

I may have broken this when I started, but then parked, work on a new IntegrationServeCommandTest that verifies that output character encoding is correct. I can circle back and take a look at this once I've finished work on the JavaScript library tests.

Contributor

dchambers commented Feb 19, 2014

I may have broken this when I started, but then parked, work on a new IntegrationServeCommandTest that verifies that output character encoding is correct. I can circle back and take a look at this once I've finished work on the JavaScript library tests.

@andyberry88

This comment has been minimized.

Show comment
Hide comment
@andyberry88

andyberry88 Feb 19, 2014

Member

INFO: Error parsing input.js: Compilation produced 15 syntax errors. (input.js#1) - I've seen this before in apps hosted in BRJS, so its not directly related to the war command. Seems that sometimes the closure minifier doesn't like the JS bundle we're giving it to minify.

There is an issue related to the war command though: If there were issues producing a bundle to go in the war, should the war command not fail rather than producing a war that is invalid?

Member

andyberry88 commented Feb 19, 2014

INFO: Error parsing input.js: Compilation produced 15 syntax errors. (input.js#1) - I've seen this before in apps hosted in BRJS, so its not directly related to the war command. Seems that sometimes the closure minifier doesn't like the JS bundle we're giving it to minify.

There is an issue related to the war command though: If there were issues producing a bundle to go in the war, should the war command not fail rather than producing a war that is invalid?

@andyberry88 andyberry88 added 5 - Done and removed 1 - Planned labels Mar 5, 2014

@andyberry88 andyberry88 closed this Mar 5, 2014

@andyberry88 andyberry88 added the bug label Mar 5, 2014

@andyberry88 andyberry88 removed the 5 - Done label Jun 18, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment