1 Reply Latest reply on Jul 23, 2010 3:07 AM by jaikiran

    Error to migrating jboss3.2.6 to 5.1.0(to access external files)

    venkatkeerthi

      I am working on migrating my application jboss3.2.6 to jboss5.1.0, My application accessing static content which in virtual host

        (accessing  external  files)    about 150 GB content.

       

        to access  static content i have created network drive and updated path in profile.xml file vfs. xml file

        i.e           <property name="bootstrapURI">${jboss.server.home.url}conf/jboss-service.xml</property>
                       <property name="applicationURIs">
                           <list elementClass="java.net.URI">
                                   <value>${jboss.server.home.url}deploy</value>
                                    <value>file:///Y:/</value>
                           </list>   

                       </property>

       

      and  updated vfs.xml file i.e

              <entry>
                 <key>file:///Y:/staticdocs</key>
                 <value><inject bean="VfsNamesExceptionHandler"/></value>
              </entry>

       

      1) to start starting server 30 min taking.

       

      2)it seems server is trying deploy all static content(trying to open zip files and pdf ) causing below error

       

      ERROR [org.jboss.system.server.profileservice.repository.ProfileDeployAction] (main) Failed to add deployment:   ap_end_tlg4_step200_notify_usd_05aug05.pdf
      org.jboss.deployers.spi.DeploymentException: Error determining deployment structure for vfsfile:/Y:/channelweb/objects/asiapacific/reseller/pdfs/ap_end_tlg4_step200_notify_usd_05aug05.pdf
      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)

       

       

      3) getting java.lang.OutOfMemoryError: Java heap space exception(i have already increased heap size 1024m)

       

      Could you provide solution for above issues.

       

      for more details attached server.log file.

       

      Thanks,

      Venkatesh Keerthi

      91-8088759092