0 Replies Latest reply on Nov 3, 2011 11:10 AM by Nick Cross

    Installer Questions / Issues

    Nick Cross Newbie

      Hi,

       

      I have been trying out the new SwitchYard installer (using the 0.3 nightly) and experimenting with installing it on different platforms (e.g. different AS releases etc).

       

      One thing I have found is that it might be useful to paramaterise the Ant script so it is possible to specify the location of the target and where to install the quickstarts to? If this is a useful addition I have attached the file.

       

      Using earlier versions of AS/EAP/SwitchYard I noticed errors with HornetQ loading but that seems to be working in the current version :-) However, I have seen some messages in the startup log and would appreciate some knowledgable person taking a look ;-)

       

       

      10:42:32,833 INFO  [org.jboss.web] (MSC service thread 1-1) registering web context: /jbpm-console

      10:42:33,741 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry xbean.jar in "/content/switchyard-jbpm-gwt-console-server.war/WEB-INF/lib/js-1.6R2.jar"  does not point to a valid jar for a Class-Path reference.

      10:42:33,742 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) Class Path entry activation.jar in "/content/switchyard-jbpm-gwt-console-server.war/WEB-INF/lib/mail-1.4.jar"  does not point to a valid jar for a Class-Path reference.

      10:42:33,765 WARN  [org.jboss.as.server.deployment.service-loader] (MSC service thread 1-8) Encountered invalid class name "org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer" for service type "org.xmlpull.v1.XmlPullParserFactory"

      10:42:33,766 WARN  [org.jboss.as.server.deployment.service-loader] (MSC service thread 1-8) Encountered invalid class name "org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer" for service type "org.xmlpull.v1.XmlPullParserFactory"

      ...

      10:42:34,860 ERROR [stderr] (MSC service thread 1-6) 261 [MSC service thread 1-6] ERROR org.hibernate.util.xml.ErrorLogger - Error parsing XML (5) : cvc-complex-type.3.1: Value '1.0' of attribute 'version' of element 'entity-mappings' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '2.0'.

       

       

      I have also seen the following SQL errors:

       

      13:35:30,984 ERROR [stderr] (MSC service thread 1-4) 2378 [MSC service thread 1-4] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 23505, SQLState: 23505

      13:35:30,984 ERROR [stderr] (MSC service thread 1-4) 2378 [MSC service thread 1-4] ERROR org.hibernate.util.JDBCExceptionReporter - Unique index or primary key violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:

      13:35:30,984 ERROR [stderr] (MSC service thread 1-4) insert into OrganizationalEntity (DTYPE, id) values ('User', ?) [23505-160]

      13:35:30,984 ERROR [stderr] (MSC service thread 1-4) 2378 [MSC service thread 1-4] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 23505, SQLState: 23505

      13:35:30,984 ERROR [stderr] (MSC service thread 1-4) 2378 [MSC service thread 1-4] ERROR org.hibernate.util.JDBCExceptionReporter - Unique index or primary key violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:

      13:35:30,984 ERROR [stderr] (MSC service thread 1-4) insert into OrganizationalEntity (DTYPE, id) values ('User', ?) [23505-160]

      13:35:30,987 ERROR [stderr] (MSC service thread 1-4) 2381 [MSC service thread 1-4] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 23505, SQLState: 23505

      13:35:30,988 ERROR [stderr] (MSC service thread 1-4) 2382 [MSC service thread 1-4] ERROR org.hibernate.util.JDBCExceptionReporter - Unique index or primary key violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:

      13:35:30,988 ERROR [stderr] (MSC service thread 1-4) insert into OrganizationalEntity (DTYPE, id) values ('User', ?) [23505-160]

      13:35:30,988 ERROR [stderr] (MSC service thread 1-4) 2382 [MSC service thread 1-4] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 23505, SQLState: 23505

      13:35:30,988 ERROR [stderr] (MSC service thread 1-4) 2382 [MSC service thread 1-4] ERROR org.hibernate.util.JDBCExceptionReporter - Unique index or primary key violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:

      13:35:30,988 ERROR [stderr] (MSC service thread 1-4) insert into OrganizationalEntity (DTYPE, id) values ('User', ?) [23505-160]

      13:35:30,990 ERROR [stderr] (MSC service thread 1-4) 2384 [MSC service thread 1-4] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 23505, SQLState: 23505

      13:35:30,990 ERROR [stderr] (MSC service thread 1-4) 2384 [MSC service thread 1-4] ERROR org.hibernate.util.JDBCExceptionReporter - Unique index or primary key violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:

      13:35:30,990 ERROR [stderr] (MSC service thread 1-4) insert into OrganizationalEntity (DTYPE, id) values ('User', ?) [23505-160]

      13:35:30,990 ERROR [stderr] (MSC service thread 1-4) 2384 [MSC service thread 1-4] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 23505, SQLState: 23505

      13:35:30,990 ERROR [stderr] (MSC service thread 1-4) 2384 [MSC service thread 1-4] ERROR org.hibernate.util.JDBCExceptionReporter - Unique index or primary key violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:

      13:35:30,990 ERROR [stderr] (MSC service thread 1-4) insert into OrganizationalEntity (DTYPE, id) values ('User', ?) [23505-160]

      13:35:30,994 ERROR [stderr] (MSC service thread 1-4) 2388 [MSC service thread 1-4] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 23505, SQLState: 23505

      13:35:30,994 ERROR [stderr] (MSC service thread 1-4) 2388 [MSC service thread 1-4] ERROR org.hibernate.util.JDBCExceptionReporter - Unique index or primary key violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:

      13:35:30,994 ERROR [stderr] (MSC service thread 1-4) insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-160]

      13:35:30,994 ERROR [stderr] (MSC service thread 1-4) 2388 [MSC service thread 1-4] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 23505, SQLState: 23505

      13:35:30,994 ERROR [stderr] (MSC service thread 1-4) 2388 [MSC service thread 1-4] ERROR org.hibernate.util.JDBCExceptionReporter - Unique index or primary key violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:

      13:35:30,995 ERROR [stderr] (MSC service thread 1-4) insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-160]

      13:35:30,996 ERROR [stderr] (MSC service thread 1-4) 2390 [MSC service thread 1-4] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 23505, SQLState: 23505

      13:35:30,997 ERROR [stderr] (MSC service thread 1-4) 2391 [MSC service thread 1-4] ERROR org.hibernate.util.JDBCExceptionReporter - Unique index or primary key violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:

      13:35:30,997 ERROR [stderr] (MSC service thread 1-4) insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-160]

      13:35:30,997 ERROR [stderr] (MSC service thread 1-4) 2391 [MSC service thread 1-4] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 23505, SQLState: 23505

      13:35:30,997 ERROR [stderr] (MSC service thread 1-4) 2391 [MSC service thread 1-4] ERROR org.hibernate.util.JDBCExceptionReporter - Unique index or primary key violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:

      13:35:30,997 ERROR [stderr] (MSC service thread 1-4) insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-160]

      13:35:30,999 ERROR [stderr] (MSC service thread 1-4) 2393 [MSC service thread 1-4] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 23505, SQLState: 23505

      13:35:30,999 ERROR [stderr] (MSC service thread 1-4) 2393 [MSC service thread 1-4] ERROR org.hibernate.util.JDBCExceptionReporter - Unique index or primary key violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:

      13:35:30,999 ERROR [stderr] (MSC service thread 1-4) insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-160]

      13:35:30,999 ERROR [stderr] (MSC service thread 1-4) 2393 [MSC service thread 1-4] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 23505, SQLState: 23505

      13:35:30,999 ERROR [stderr] (MSC service thread 1-4) 2393 [MSC service thread 1-4] ERROR org.hibernate.util.JDBCExceptionReporter - Unique index or primary key violation: "PRIMARY_KEY_C ON PUBLIC.ORGANIZATIONALENTITY(ID)"; SQL statement:

      13:35:31,000 ERROR [stderr] (MSC service thread 1-4) insert into OrganizationalEntity (DTYPE, id) values ('Group', ?) [23505-160]

      13:35:31,048 INFO  [org.jboss.web] (MSC service thread 1-4) registering web context: /gwt-console-server

      13:35:31,136 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "switchyard-console-gwt.war"

      13:35:31,136 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "jbpm-gwt-console.war"

      13:35:31,136 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "switchyard-jbpm-gwt-console-server.war"

       

      and console errors of

      13:35:31,136 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "switchyard-jbpm-gwt-console-server.war"

      13:41:04,668 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/switchyard].[gwtProxy]] (http-localhost-127.0.0.1-8080-2) Servlet.service() for servlet gwtProxy threw exception: java.io.IOException: Channel closed

          at org.jboss.as.controller.client.impl.AbstractModelControllerClient$ExecuteRequestContext$1.handleClose(AbstractModelControllerClient.java:346) [jboss-as-controller-client-7.1.0.Alpha1-redhat-1.jar:7.1.0.Alpha1-redhat-1]

          at org.jboss.as.controller.client.impl.AbstractModelControllerClient$ExecuteRequestContext$1.handleClose(AbstractModelControllerClient.java:343) [jboss-as-controller-client-7.1.0.Alpha1-redhat-1.jar:7.1.0.Alpha1-redhat-1]

          at org.jboss.remoting3.spi.SpiUtils.safeHandleClose(SpiUtils.java:51)

          at org.jboss.remoting3.spi.AbstractHandleableCloseable$CloseHandlerTask.run(AbstractHandleableCloseable.java:496)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.6.0_22]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.6.0_22]

          at java.lang.Thread.run(Thread.java:679) [:1.6.0_22]

       

       

      Anyone seen anything like these??

       

       

      Thanks!

       

      Nick