The application.xml is generated dynamically at startup by the custom Nuxeo ear deployer, that is installed (among other things) when you type "ant patch".
Or you could copy this file by hand if you prefer.

Florent

On 11 Jan 2008, at 06:10, Dhanasekar T wrote:

Hi,

We have splitted Nuxeo apllication into 3 parts. Nuxeo Core, Nuxeo Index and Nuxeo Web Platform. We built it using Maven and has got 3 EAR files
– nuxeo-core.ear
– nuxeo-indexing.ear
– nuxeo-webplatform.ear

Machine A:

We renamed nuxeo-core.ear as nuxeo.ear and deployed it inside Nuxeo Installer's JBoss. We started the Server and got an exception,

org.jboss.deployment.DeploymentException: No
META-INF/application.xml found
at org.jboss.deployment.EARDeployer.init (EARDeployer.java:146)

We are getting this exception in JBoss-4.2.0 GA as well as JBoss-4.0.5 GA. "application.xml" is not there even in any of the generated stack. Is this fine? Are we missing something in the build?

Then we created a dummy application.xml file and added it in nuxeo.ear. Also mbean folder was missing in that ear. Copied and pasted it from the Nuxeo Installer webapp. The JBoss server started now.

Machine B:

We renamed nuxeo-indexing.ear as nuxeo.ear and deployed it inside Nuxeo Installer's JBoss.

We modfied the org.nuxeo.ecm.instance.host entry in

$JBOSS_HOME/server/default/deploy/nuxeo.ear/config/nuxeo.properties by replacing "localhost" with the IP address of Machine A.


We modfied the java.naming.provider.url entry in $JBOSS_HOME/server/ default/deploy/nuxeo.ear/config/mbeans/core-events-client- service.xml by replacing the 127.0.0.1 value by the IP adress of Machine A.

We did the same for application.xml, mbean, etc. as we did for Machine A.

We started the Server as follows:

run –b [IP address of Machine A]

and got the following exception:

17:18:26,703 WARN [ServiceController] Problem starting service jboss:service=WebService
java.lang.Exception : Port 8083 already in use.
at org.jboss.web.WebServer.start(WebServer.java:235)
at org.jboss.web.WebService.startService(WebService.java:337)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart (ServiceMBeanSupport.java :289)

Caused by: java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.PlainSocketImpl.socketBind (Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java :359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.jboss.web.WebServer.start (WebServer.java:229)
... 50 more

17:18:26,796 WARN [ServiceController] Problem starting service jboss:service=Naming java.rmi.server.ExportException : Port already in use: 1098; nested exception is:
java.net.BindException: Cannot assign requested address: JVM_Bind
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:243)
at sun.rmi.transport.tcp.TCPTransport.exportObject (TCPTransport.java:178) at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java: 382)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116)

Machine C:

We renamed nuxeo-webplatform.ear as nuxeo.ear and deployed it inside Nuxeo Installer's JBoss.

We modfied the org.nuxeo.ecm.instance.host entry in

$JBOSS_HOME/server/default/deploy/nuxeo.ear/config/nuxeo.properties by replacing "localhost" with the IP address of Machine A.

We modfied the java.naming.provider.url entry in $JBOSS_HOME/server/ default/deploy/nuxeo.ear/config/mbeans/core-events-client- service.xml by replacing the 127.0.0.1 value by the IP adress of Machine A.

We did the same for application.xml, mbean, etc. as we did for Machine A.

We started the Server as follows:

run –b [IP address of Machine A]

and got the following exception:

17:18:26,703 WARN [ServiceController] Problem starting service jboss:service=WebService
java.lang.Exception : Port 8083 already in use.
at org.jboss.web.WebServer.start(WebServer.java:235)
at org.jboss.web.WebService.startService(WebService.java:337)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart (ServiceMBeanSupport.java :289)

Caused by: java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.PlainSocketImpl.socketBind (Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java :359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.jboss.web.WebServer.start (WebServer.java:229)
... 50 more

17:18:26,796 WARN [ServiceController] Problem starting service jboss:service=Naming java.rmi.server.ExportException : Port already in use: 1098; nested exception is:
java.net.BindException: Cannot assign requested address: JVM_Bind
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:243)
at sun.rmi.transport.tcp.TCPTransport.exportObject (TCPTransport.java:178) at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java: 382)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116)

Are we going in right direction? Can anyone help us?


Regards,
Dhanasekar.T
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87



_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to