-
1. Re: I am working on migrating jboss3.2.6 to jboss5.1.0
venkatkeerthi Jul 23, 2010 3:02 AM (in response to venkatkeerthi)sorry i have not filled details, by mistake submitted below are full details:
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
-
server.log.zip 1.7 KB
-
-
2. Re: I am working on migrating jboss3.2.6 to jboss5.1.0
jfclere Jul 23, 2010 3:11 AM (in response to venkatkeerthi)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
I don't think you want to deploy the file but just get it served by the defaultServlet, no?
-
3. Re: I am working on migrating jboss3.2.6 to jboss5.1.0
venkatkeerthi Jul 23, 2010 3:17 AM (in response to jfclere)Hi Jean,
I donot want deploy static content files, these content get servered by servlet or jsp in my application.
.zip and pdf files should availabel for downloading users.
Thanks,
Venkatesh Keerthi
-
4. Re: I am working on migrating jboss3.2.6 to jboss5.1.0
saltnlight5 Jul 26, 2010 6:17 PM (in response to venkatkeerthi)This has nothing to do with jboss migration in particular.
To share static content files in jboss web server, or any other standard Servlet container for that matter, the easiest thing would be just add files/folders into deploy/ROOT.war directory. If you have a shared dir, then use symbolic link(if you are using Linux) like this:
$ ln -s /path/to/share/mycontent $JBOSS_HOME/server/default/deploy/ROOT.war/mycontent
Then starting default server, you can then get your file like this: http://localhost:8080/mycontent/my.pdf