AnsweredAssumed Answered

error starting Virtual server

Question asked by pjain on Sep 24, 2007
Latest reply on Jun 23, 2009 by prabhakaran
I am trying to install Alfresco community WCM 2.1 version. I extracted the zip file inside Alfresco folder and trying to run but it gives following output on console.



Sep 24, 2007 1:02:39 PM org.apache.catalina.core.AprLifecycleListener lifecycleE
vent
INFO: The Apache Tomcat Native library which allows optimal performance in produ
ction environments was not found on the java.library.path: C:\Program Files\Java
\jdk1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jdk1.5.0
_06/bin;C:\Documents and Settings\pjain\Desktop\Puneet\alfrescoLocal\alfresco-co
mmunity-tomcat-2.1.0\bin;C:\Program Files\PHP\;C:\bin;C:\Program Files\Java\jdk1
.5.0_06\bin;C:\apps\locomobile\ant\bin;C:\Program Files\Apache Software Foundati
on\maven-2.0.4\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Pr
ogram Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\Microsoft SQL Server\80\
Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program File
s\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Too
ls\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\
IDE\PrivateAssemblies\;"C:\utils\pkzipc";"C:\Program Files\Intelligent Converter
s";"C:\utils\tee\cpptee\Release";c:\python25;C:\Program Files\Subversion\bin;C:\
Documents and Settings\pjain\Desktop\Puneet\alfresco-community-sdk-2.1.0\bin
Sep 24, 2007 1:02:39 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
Sep 24, 2007 1:02:39 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 937 ms
Sep 24, 2007 1:02:39 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 24, 2007 1:02:39 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
Sep 24, 2007 1:02:39 PM org.springframework.core.CollectionFactory <clinit>
INFO: JDK 1.4+ collections available
Sep 24, 2007 1:02:39 PM org.springframework.beans.factory.xml.XmlBeanDefinitionR
eader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [file:C:/Documents and Settings/pjai
n/Desktop/Puneet/alfrescoLocal/alfresco-community-tomcat-2.1.0/virtual-tomcat/co
nf/alfresco-virtserver-context.xml]
Sep 24, 2007 1:02:40 PM org.springframework.context.support.AbstractRefreshableA
pplicationContext refreshBeanFactory
INFO: Bean factory for application context [org.springframework.context.support.
FileSystemXmlApplicationContext;hashCode=16695559]: org.springframework.beans.fa
ctory.support.DefaultListableBeanFactory defining beans [virtserver-properties,a
vmReauthenticatingAdvisor,reauthenticatingAdvice,clientTicketHolder,authenticati
onService,avmRemote,avmRemoteTransport,avmRemoteTransportRaw,attributeService,at
tributeServiceTransport,attributeServiceTransportRaw,jndiInfoBean,virtServerInfo
,virtServerMBeanServer,virtServerRegistry,serverConnector,virtServerExporter,vir
tWebappRegistry,cacheControlInfo]; root of BeanFactory hierarchy
Sep 24, 2007 1:02:40 PM org.springframework.context.support.AbstractApplicationC
ontext refresh
INFO: 19 beans defined in application context [org.springframework.context.suppo
rt.FileSystemXmlApplicationContext;hashCode=16695559]
Sep 24, 2007 1:02:40 PM org.springframework.core.io.support.PropertiesLoaderSupp
ort loadProperties
INFO: Loading properties file from URL [file:C:/Documents and Settings/pjain/Des
ktop/Puneet/alfrescoLocal/alfresco-community-tomcat-2.1.0/virtual-tomcat/conf/al
fresco-shared.properties]
Sep 24, 2007 1:02:40 PM org.springframework.core.io.support.PropertiesLoaderSupp
ort loadProperties
INFO: Loading properties file from URL [file:C:/Documents and Settings/pjain/Des
ktop/Puneet/alfrescoLocal/alfresco-community-tomcat-2.1.0/virtual-tomcat/conf/al
fresco-virtserver.properties]
Sep 24, 2007 1:02:40 PM org.springframework.context.support.AbstractApplicationC
ontext initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using default [o
rg.springframework.context.support.DelegatingMessageSource@1e3118a]
Sep 24, 2007 1:02:40 PM org.springframework.context.support.AbstractApplicationC
ontext initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMu
lticaster': using default [org.springframework.context.event.SimpleApplicationEv
entMulticaster@d3d6f]
Sep 24, 2007 1:02:40 PM org.springframework.beans.factory.support.DefaultListabl
eBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory
.support.DefaultListableBeanFactory defining beans [virtserver-properties,avmRea
uthenticatingAdvisor,reauthenticatingAdvice,clientTicketHolder,authenticationSer
vice,avmRemote,avmRemoteTransport,avmRemoteTransportRaw,attributeService,attribu
teServiceTransport,attributeServiceTransportRaw,jndiInfoBean,virtServerInfo,virt
ServerMBeanServer,virtServerRegistry,serverConnector,virtServerExporter,virtWeba
ppRegistry,cacheControlInfo]; root of BeanFactory hierarchy]
Sep 24, 2007 1:02:40 PM org.springframework.remoting.rmi.RmiClientInterceptor pr
epare
INFO: RMI stub [rmi://localhost:50500/authentication] is an RMI invoker
Sep 24, 2007 1:02:40 PM org.springframework.aop.framework.DefaultAopProxyFactory
<clinit>
INFO: CGLIB2 not available: proxyTargetClass feature disabled
Sep 24, 2007 1:02:40 PM org.springframework.remoting.rmi.RmiClientInterceptor pr
epare
INFO: RMI stub [rmi://localhost:50500/avm] is an RMI invoker
Sep 24, 2007 1:02:40 PM org.springframework.remoting.rmi.RmiClientInterceptor pr
epare
INFO: RMI stub [rmi://localhost:50500/attributes] is an RMI invoker
Sep 24, 2007 1:02:40 PM org.springframework.remoting.rmi.RmiRegistryFactoryBean
getRegistry
INFO: Looking for RMI registry at port '50501'
Sep 24, 2007 1:02:41 PM org.springframework.remoting.rmi.RmiRegistryFactoryBean
getRegistry
WARNING: Could not detect RMI registry - creating new one
Sep 24, 2007 1:02:41 PM org.springframework.jmx.support.ConnectorServerFactoryBe
an afterPropertiesSet
INFO: JMX connector server started: javax.management.remote.rmi.RMIConnectorServ
er@1fd6bea
Sep 24, 2007 1:02:41 PM org.springframework.jmx.export.MBeanExporter afterProper
tiesSet
INFO: Registering beans for JMX exposure on startup
java.lang.reflect.InvocationTargetException
        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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: org.springframework.remoting.RemoteAccessException: Cannot access rem
ote service [rmi://localhost:50500/authentication]; nested exception is java.rmi
.ServerException: RemoteException occurred in server thread; nested exception is
:
        java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
tion is:
        java.net.MalformedURLException: no protocol: and
        at org.springframework.remoting.rmi.RmiClientInterceptorUtils.convertRmi
AccessException(RmiClientInterceptorUtils.java:177)
        at org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke(RmiCli
entInterceptor.java:347)
        at org.springframework.remoting.rmi.RmiClientInterceptor.invoke(RmiClien
tInterceptor.java:259)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:176)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:210)
        at $Proxy0.authenticate(Unknown Source)
        at org.alfresco.catalina.host.AVMHost.init(AVMHost.java:393)
        at org.alfresco.catalina.host.AVMHost.start(AVMHost.java:642)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:4
48)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:700
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        … 6 more
Caused by: java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is:
        java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
tion is:
        java.net.MalformedURLException: no protocol: and
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:325)
        at sun.rmi.transport.Transport$1.run(Transport.java:153)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
60)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:701)
        at java.lang.Thread.run(Thread.java:595)
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
RemoteCall.java:247)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
223)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
        at org.springframework.remoting.rmi.RmiInvocationWrapper_Stub.invoke(Unk
nown Source)
        at org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke(RmiCli
entInterceptor.java:400)
        at org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke(RmiCli
entInterceptor.java:344)
        … 17 more
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested ex
ception is:
        java.net.MalformedURLException: no protocol: and
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:282)
        at sun.rmi.transport.Transport$1.run(Transport.java:153)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
60)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:701)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.net.MalformedURLException: no protocol: and
        at java.net.URL.<init>(URL.java:567)
        at java.net.URL.<init>(URL.java:464)
        at java.net.URL.<init>(URL.java:413)
        at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747)
        at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147)
        at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
        at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
        at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav
a:197)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:153
8)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
693)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
        at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:290)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:279)
        … 6 more

Outcomes