Unable to deploy ear file into Wildfly8.2.1 -connect4.6

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to deploy ear file into Wildfly8.2.1 -connect4.6

svetlana
I have configured Wildfly 8.2.1 App server by replacing Glassfish App server
I done all steps as in Deploying to WildFly 8.2.1(4.6)
When I want to deploy ear file  I am reciving the failed message

First I got the message bellow when I start the server by running standalone.bat

09:29:33,640 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8
.2.1.Final "Tweek" started in 9529ms - Started 280 of 337 services (96 services
are lazy, passive or on-demand)

Wwhat services are missing and how I can find the services in source folder?

Here is the server log after failing to deploy ear file
server.log

Here is standalone.xml
standalone.xml

Please help with this issue

Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: Unable to deploy ear file into Wildfly8.2.1 -connect4.6

Minh
Administrator
based on the server log, it seems that you don't have docrepository_datasource.  Can you please confirm that you have all datasources set up properly (https://connectopensource.atlassian.net/wiki/x/IoB8Aw)  Section "Configure Data Sources"

Thanks,
Minh-Hai Nguyen
CONNECT Product Team Member
Reply | Threaded
Open this post in threaded view
|

Re: Unable to deploy ear file into Wildfly8.2.1 -connect4.6

svetlana
Thank you Minh for quick responce
I configured all datasources

here is datasource from standalone.xml file
<datasource jta="true" jndi-name="java:/jdbc/docrepository_datasourc" pool-name="docrepository_pool" enabled="true" use-ccm="true">
                    <connection-url>jdbc:mysql://localhost:3306/docrepository</connection-url>
                    <driver-class>com.mysql.jdbc.Driver</driver-class>
                    <driver>mysql-connector-java-5.1.10.jar</driver>
                    <security>
                        <user-name>root</user-name>
                        <password>mypass</password>
                    </security>
                    <validation>
                        <validate-on-match>false</validate-on-match>
                        <background-validation>false</background-validation>
                    </validation>
                    <timeout>
                        <set-tx-query-timeout>false</set-tx-query-timeout>
                        <blocking-timeout-millis>0</blocking-timeout-millis>
                        <idle-timeout-minutes>0</idle-timeout-minutes>
                        <query-timeout>0</query-timeout>
                        <use-try-lock>0</use-try-lock>
                        <allocation-retry>0</allocation-retry>
                        <allocation-retry-wait-millis>0</allocation-retry-wait-millis>
                    </timeout>
                    <statement>
                        <share-prepared-statements>false</share-prepared-statements>
                    </statement>
                </datasource>


Reply | Threaded
Open this post in threaded view
|

Re: Unable to deploy ear file into Wildfly8.2.1 -connect4.6

svetlana
In reply to this post by Minh
Hello Minh

I found the error and fix it
I was able to deploy ear file into App server
I have another question.

I am not a WildFly App server expert  but what I read it has 2 controllers: standalone and domain
I do not know which controller is compatible with CMS gateway?
From your experience do you know which controller should be configured?



Thank you


Reply | Threaded
Open this post in threaded view
|

Re: Unable to deploy ear file into Wildfly8.2.1 -connect4.6

Minh
Administrator
Glad it works for you.  To determine which one to use, it really depend on your requirement and traffic. Standalone is single wildfly instance while domain mode gives you option to manage multiple wildfly instance through one central control.  Please see this page for more information.  https://docs.jboss.org/author/display/WFLY8/Operating+modes

Hope this will help you.

Minh-Hai Nguyen
CONNECT Product Team Member
Reply | Threaded
Open this post in threaded view
|

Re: Unable to deploy ear file into Wildfly8.2.1 -connect4.6

sri harsha
In reply to this post by svetlana
Hi,

I'm new to this setup. Can you please help me on how to create wildfly ear. When i'm using "mvn clean install -DskipTests" it is creating glassfish ear. Used -p jboss7 but its giving a build failure.
Reply | Threaded
Open this post in threaded view
|

Re: Unable to deploy ear file into Wildfly8.2.1 -connect4.6

earla12
In reply to this post by svetlana
I am working on getting the SOAPUI test to run on the local installation and am receiving the error that you were.  What was it that you had to do to fix the error?
Reply | Threaded
Open this post in threaded view
|

Re: Unable to deploy ear file into Wildfly8.2.1 -connect4.6

Minh
Administrator
In reply to this post by sri harsha
Hi Sri,

Let us know if you still have issue.  If so, can you please create new thread for the following up question.

Thanks,
Minh-Hai Nguyen
CONNECT Product Team Member
Reply | Threaded
Open this post in threaded view
|

Re: Unable to deploy ear file into Wildfly8.2.1 -connect4.6

Minh
Administrator
In reply to this post by earla12
Hi Earla12,

If you still experience issue, please create new thread or topic for following up questions.

Thanks,
Minh-Hai Nguyen
CONNECT Product Team Member