cancel
Showing results for 
Search instead for 
Did you mean: 

Problem deploying alfresco.war in jboss-portal

domma
Champ in-the-making
Champ in-the-making
Hi, thanks for taking some time to read my post.

I succesfully dowloaded the source code from your svn repos.
I also downloaded the JBoss Portal 2.0 as well as MySQL 4.1.
I manage to build the code for my jboss successfully.
Alfresco.war is correctly copied in my /server/deploy directory from JBoss.
But when starting JBOss I get the following exception:

16:35:48,889 ERROR [MainDeployer] Could not create deployment: file:/C:/Program
Files/jboss-portal-2.2.1-bundled/server/default/deploy/alfresco.war
java.lang.VerifyError: Cannot inherit from final class
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
4)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at org.jboss.ws.server.WebServiceDeployerJSE.isWebserviceDeployment(WebS
erviceDeployerJSE.java:149)
        at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java
:101)
        at org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJS
E.java:65)
        at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
create(SubDeployerInterceptorSupport.java:180)
        at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:91)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:260)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
        at $Proxy86.create(Unknown Source)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
        at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:260)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
        at $Proxy8.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:334)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:522)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:207)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:280)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:260)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:978)
        at $Proxy0.start(Unknown Source)
        at org.jboss.system.ServiceController.start(ServiceController.java:417)
        at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:260)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
        at $Proxy4.start(Unknown Source)
        at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:260)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:464)
        at java.lang.Thread.run(Thread.java:595)
16:35:49,620 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=…/dep
loy/jmx-console.war/
16:35:49,910 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

— Incompletely deployed packages —
org.jboss.deployment.DeploymentInfo@6f3fc683 { url=file:/C:/Program Files/jboss-
portal-2.2.1-bundled/server/default/deploy/alfresco.war }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Deployment FAILED reason: Cannot inherit from final class
  state: FAILED
  watch: file:/C:/Program Files/jboss-portal-2.2.1-bundled/server/default/deploy
/alfresco.war
  altDD: null
  lastDeployed: 1147790145504
  lastModified: 1147790145364
  mbeans:


16:35:50,161 INFO  [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0
-8080
16:35:50,441 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
16:35:50,451 INFO  [JkMain] Jk running ID=0 time=0/210  config=null
16:35:50,501 INFO  [Server] JBoss (MX MicroKernel) [4.0.4.CR2 (build: CVSTag=JBo
ss_4_0_4_CR2 date=200604241359)] Started in 1m:36s:879ms

Any hint on what might be wrongly configured?

Thank a lot,

Manuela
7 REPLIES 7

kevinr
Star Contributor
Star Contributor
This forum article has the solution:
http://forums.alfresco.com/viewtopic.php?t=1397

Thanks,

Kevin

domma
Champ in-the-making
Champ in-the-making
Hi Kevin,

I did copy the 2 jars into my jsf  library and now I get stuck a bit further apparently without any errors, the jboss console just hangs at the following step of the deployment

17:11:01,675 INFO  [DictionaryDAO] Registered namespace 'http://www.w3.org/XML/1
998/namespace' (prefix 'xml')
17:11:02,076 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from c
lass path resource [org/springframework/jdbc/support/sql-error-codes.xml]
17:11:02,096 INFO  [SQLErrorCodesFactory] SQLErrorCodes loaded: [DB2, HSQL, MS-S
QL, MySQL, Oracle, Informix, PostgreSQL, Sybase]
So I guess it is looping somewhere and doesn't get out (it's stuck there since 30 min)   :?
Any idea of what might happen?
Just for info just before I had the following error:

INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
17:11:00,483 ERROR [STDERR] 18-mai-2006 17:11:00 net.sf.joott.uno.UnoConnection
connect
GRAVE: connection failed: com.sun.star.connection.NoConnectException: java.net.C
onnectException: Connection refused: connect
17:11:00,623 ERROR [STDERR] 18-mai-2006 17:11:00 net.sf.joott.uno.UnoConnection
connect
INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
17:11:01,585 ERROR [STDERR] 18-mai-2006 17:11:01 net.sf.joott.uno.UnoConnection
connect
GRAVE: connection failed: com.sun.star.connection.NoConnectException: java.net.C
onnectException: Connection refused: connect
17:11:01,675 INFO  [DictionaryDAO] Loading model from alfresco/model/jcrModel.xm
l
But I know that those are linked to CIFS and Opensource connection, and that they are not supposed to be blocking, but …

Thanks in advance,

Manuela

bmannaa
Champ in-the-making
Champ in-the-making
i get the same exception
SEVERE: connection failed: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused
and everything halts.

can anyone find a solution?

regards
Bassel

kevinr
Star Contributor
Star Contributor
That error does not stop the server working - take a look at the README that comes with Alfresco install - it tells you about installing the optional OpenOffice server (for document transformation) that will remove the error.

Thanks,

Kevin

randerson
Champ in-the-making
Champ in-the-making
Bassel,
I think I had a similar problem, Jboss was hung with the console's last message showing:

SEVERE: connection failed: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused

Also, the Jboss JVM was taking 80-90% CPU but apparently not getting anywhere.

It turns out that the console message is a red herring. Check this post on log4j settings:

http://forums.alfresco.com/viewtopic.php?p=2724#2724

Richard.

amgad_mosleh
Champ in-the-making
Champ in-the-making
HI there

—————————————-
My environment is:
DB: Mysql 5.0.19
Jboss: 4.0.3SP1
Liferay: 4.0.0 Final release
Alfresco: 1.3 the web client war file

——————————————

I foloowed the instruction the link you mentioned. when I start the server the database is updated and I can see the entries and the tables created but before the server start the following appears and nothing will happen:


09:50:19,707 INFO  [SQLErrorCodesFactory] SQLErrorCodes loaded: [DB2, HSQL, MS-SQL, MySQL, Oracle, Informix, PostgreSQL, Sybase]



any help please: Did you solve the problem  :lol:

randerson
Champ in-the-making
Champ in-the-making
Hi,
Your environment is looks pretty much like mine - though I'm not using Liferay.

Try poking about in jboss' log (<jboss>/server/default/log/server.log), that might give you some clues. In my case jboss didn't actually hang, it was just putting all of it's efforts into writing MBs of debug messages into the log!

Hope that helps.
Richard.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.