cancel
Showing results for 
Search instead for 
Did you mean: 

DocLib 3 + JBoss5.1 + Liferay 6.0.5 has 500 - Internal error

tw_joshua
Champ in-the-making
Champ in-the-making
Hi Communities,

I had deploy Doc Share Portlet 3 over JBoss5.1 + Liferay 6.0.5 +JDK 1.6 and OS is Windows 2003.
I did the same deployment over Tomcat + Liferay 6.0.5 +JDK 1.6 and everything is running well.
The porlet shows errors
An error has occured in the Share component: /share/service/components/documentlibrary/filter.
It responded with a status of 500 - Internal Error.
Error Code Information: 500 - An error inside the HTTP server which prevented it from fulfilling the request.
Error Message: 01100007 Failed to execute script 'classpath*:alfresco/site-webscripts/org/alfresco/components/documentlibrary/filter.get.js': 01100006 ReferenceError: "XML" is not defined. (vfsfile:/C:/Java/BOS-5.4/jboss-5.1.0.GA/server/default/deploy/share.war/WEB-INF/classes/alfresco/site-webscripts/org/alfresco...)
Server: Alfresco Spring WebScripts - v1.0.0 (Release Candidate 2 744) schema 1,000
Time: 2011/2/10 下午 04:40:39
An error has occured in the Share component: /share/service/components/documentlibrary/toolbar.
It responded with a status of 500 - Internal Error.
Error Code Information: 500 - An error inside the HTTP server which prevented it from fulfilling the request.
Error Message: 01100005 Failed to execute script 'classpath*:alfresco/site-webscripts/org/alfresco/components/documentlibrary/toolbar.get.js': 01100004 ReferenceError: "XML" is not defined. (vfsfile:/C:/Java/BOS-5.4/jboss-5.1.0.GA/server/default/deploy/share.war/WEB-INF/classes/alfresco/site-webscripts/org/alfresco...)
Server: Alfresco Spring WebScripts - v1.0.0 (Release Candidate 2 744) schema 1,000
Time: 2011/2/10 下午 04:40:39
Click here to view full technical information on the error.
Exception: org.mozilla.javascript.EcmaError - ReferenceError: "XML" is not defined. (vfsfile:/C:/Java/BOS-5.4/jboss-5.1.0.GA/server/default/deploy/share.war/WEB-
.
.
The screenshot is available on this link URL.
http://awesomescreenshot.com/02f7atk06
[img]https://lh6.googleusercontent.com/_XFhF94QI63g/TVOq-f6FB8I/AAAAAAAAEUo/grDKYt8xwAo/s576/DMS%20-%20er...[/img]
Is there anyone deploy Docshare success over JBoss 5.1?

Thanks for your help!!
Joshua
2 REPLIES 2

tw_joshua
Champ in-the-making
Champ in-the-making
After update WarClassLoaderDeployer on \jboss\server\default\deployers\jbossweb.deployer\META-INF\war-deployers-jboss-beans.xml, the issue was closed.
Joshua

   <bean name="WarClassLoaderDeployer" class="org.jboss.web.tomcat.service.deployers.WarClassLoaderDeployer">
     <property name="relativeOrder">-1</property>
     <property name="filteredPackages">javax.activation,javax.servlet,javax.servlet.jsp,javax.servlet.jsp.jstl,javax.servlet.jsp.jstl.core,javax.servlet.jsp.jstl.fmt,javax.servlet.jsp.jstl.sql,javax.servlet.jsp.jstl.tlv,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.messaging,javax.xml.namespace,javax.xml.parsers,javax.xml.rpc,javax.xml.rpc.encoding,javax.xml.rpc.handler,javax.xml.rpc.handler.soap,javax.xml.rpc.holders,javax.xml.rpc.server,javax.xml.rpc.soap,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.apache.commons.logging,org.apache.commons.logging.impl,org.apache.xerces,org.apache.xerces.dom,org.apache.xerces.dom.events,org.apache.xerces.dom3,org.apache.xerces.dom3.as,org.apache.xerces.impl,org.apache.xerces.impl.dtd,org.apache.xerces.impl.dtd.models,org.apache.xerces.impl.dv,org.apache.xerces.impl.dv.dtd,org.apache.xerces.impl.dv.util,org.apache.xerces.impl.dv.xs,org.apache.xerces.impl.io,org.apache.xerces.impl.msg,org.apache.xerces.impl.validation,org.apache.xerces.impl.xpath,org.apache.xerces.impl.xpath.regex,org.apache.xerces.impl.xs,org.apache.xerces.impl.xs.identity,org.apache.xerces.impl.xs.models,org.apache.xerces.impl.xs.opti,org.apache.xerces.impl.xs.traversers,org.apache.xerces.impl.xs.util,org.apache.xerces.jaxp,org.apache.xerces.jaxp.datatype,org.apache.xerces.jaxp.validation,org.apache.xerces.parsers,org.apache.xerces.util,org.apache.xerces.xinclude,org.apache.xerces.xni,org.apache.xerces.xni.grammars,org.apache.xerces.xni.parser,org.apache.xerces.xpointer,org.apache.xerces.xs,org.apache.xerces.xs.datatypes,org.apache.xml,org.apache.xml.resolver,org.apache.xml.resolver.apps,org.apache.xml.resolver.etc,org.apache.xml.resolver.etc.catalog.dtd,org.apache.xml.resolver.etc.catalog.rng,org.apache.xml.resolver.etc.catalog.xsd,org.apache.xml.resolver.etc.xcatalog.dtd,org.apache.xml.resolver.helpers,org.apache.xml.resolver.readers,org.apache.xml.resolver.tools,org.apache.xml.security,org.apache.xml.security.algorithms,org.apache.xml.security.algorithms.implementations,org.apache.xml.security.c14n,org.apache.xml.security.c14n.helper,org.apache.xml.security.c14n.implementations,org.apache.xml.security.encryption,org.apache.xml.security.exceptions,org.apache.xml.security.keys,org.apache.xml.security.keys.content,org.apache.xml.security.keys.content.keyvalues,org.apache.xml.security.keys.content.x509,org.apache.xml.security.keys.keyresolver,org.apache.xml.security.keys.keyresolver.implementations,org.apache.xml.security.keys.storage,org.apache.xml.security.keys.storage.implementations,org.apache.xml.security.resource,org.apache.xml.security.resource.schema,org.apache.xml.security.signature,org.apache.xml.security.transforms,org.apache.xml.security.transforms.implementations,org.apache.xml.security.transforms.params,org.apache.xml.security.utils,org.apache.xml.security.utils.resolver,org.apache.xml.security.utils.resolver.implementations,org.apache.xml.serialize,org.apache.xmlcommons,org.xml,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers,org.w3c.css,org.w3c.css.sac,org.w3c.css.sac.helpers,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.smil,org.w3c.dom.stylesheets,org.w3c.dom.svg,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath</property>     
  </bean>

mikeh
Star Contributor
Star Contributor