java - Application crashes while deploying in heroku -


i have developed java based webapp. im trying push heroku test webapp. following pom.xml file content

<project xmlns="http://maven.apache.org/pom/4.0.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://maven.apache.org/pom/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">   <modelversion>4.0.0</modelversion>   <groupid>webmobilegroupchatserver</groupid>   <artifactid>webmobilegroupchatserver</artifactid>   <version>0.0.1-snapshot</version>   <packaging>war</packaging>   <build>     <sourcedirectory>src</sourcedirectory>     <plugins>       <plugin>         <artifactid>maven-war-plugin</artifactid>         <version>2.6</version>         <configuration>           <warsourcedirectory>webcontent</warsourcedirectory>           <failonmissingwebxml>false</failonmissingwebxml>             <appname>boiling-ocean-21071</appname>        <processtypes>      <web>java $java_opts -cp target/classes:target/dependency/* main</web>      </processtypes>         </configuration>        </plugin>       <plugin>         <groupid>com.heroku.sdk</groupid>         <artifactid>heroku-maven-plugin</artifactid>         <version>1.0.3</version>       </plugin>       <!-- <plugin>         <artifactid>maven-compiler-plugin</artifactid>         <version>3.3</version>         <configuration>           <source>1.7</source>           <target>1.7</target>         </configuration>       </plugin>        -->        <plugin>                 <groupid>org.apache.maven.plugins</groupid>                 <artifactid>maven-dependency-plugin</artifactid>                 <version>2.4</version>                 <executions>                     <execution>                         <id>copy-dependencies</id>                         <phase>package</phase>                         <goals><goal>copy-dependencies</goal></goals>                     </execution>                 </executions>             </plugin>          <plugin>             <groupid>org.codehaus.mojo</groupid>             <artifactid>appassembler-maven-plugin</artifactid>             <version>1.1.1</version>             <configuration>                 <assembledirectory>target</assembledirectory>                 <programs>                     <program>                         <mainclass>launch.main</mainclass>                         <name>webapp</name>                     </program>                 </programs>             </configuration>             <executions>                 <execution>                     <phase>package</phase>                     <goals>                         <goal>assemble</goal>                     </goals>                 </execution>             </executions>         </plugin>     </plugins>   </build>       <dependencies>       <dependency>       <groupid>org.json</groupid>       <artifactid>json</artifactid>       <version>20140107</version>     </dependency>     <dependency>     <groupid>javax.websocket</groupid>     <artifactid>javax.websocket-api</artifactid>     <version>1.1</version> </dependency> <!-- https://mvnrepository.com/artifact/com.google.guava/guava-collections --> <dependency>     <groupid>com.google.guava</groupid>     <artifactid>guava-collections</artifactid>     <version>r03</version> </dependency>    </dependencies> </project> 

following pocfile content

web: sh target/bin/webapp 

the problem when im running code, app crashes.

it throws following error message

at=error code=h10 desc="app crashed" method=get path="/favicon.ico" host=xxxxxxx.herokuapp.com request_id=2f38b729-4aa9-4895-a830-9d847b3fe763 fwd="122.165.238.99" dyno= connect= service= status=503 bytes= 


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -