JBoss Portal won't work after deployment
absmith May 14, 2005 5:22 AMHello,
I've installed JBoss 4.0.2, MySQL 4.1.11 (both for Windows 2000 Pro) and on there own they work fine. Which is good as I needed them for JBoss Portal :D.
I've then tried both the binary and source distributions of JBoss-portal 2.0 RC. When ever the .sar is placed in server/default/deploy I get the following on the console:
10:07:41,793 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
10:07:42,981 INFO [Server] Core system initialized
10:07:47,231 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:log4j.xml
10:07:47,528 INFO [WebService] Using RMI server codebase: http://gondor:8083/
10:07:48,028 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=
1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server Socket
Factory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
10:08:41,700 ERROR [MainDeployer] could not create deployment: file:/D:/jboss-4.
0.2/server/default/deploy/jboss-portal.sar
org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect
.UndeclaredThrowableException)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:143)
at org.jboss.system.ServiceController.install(ServiceController.java:202
)
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:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
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:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
Then later on after most of the other apps have deployed i get the notification that jboss-portal is being destroyed due to the deployment failure.
I have checked and double checked the installation guide and also tried to investigate further. But as I am relatively new to JBoss and application servers there is nothing obviously wrong to me.
Any help/guidance gratefully accepted - even if it is "you dumbo you haven't do x,y,z :)
All the best
Andy