[JBoss JIRA] (WFLY-5715) Wildfly 9/10 removing deployments after a certain time
by ehsavoie Hugonnet (JIRA)
[ https://issues.jboss.org/browse/WFLY-5715?page=com.atlassian.jira.plugin.... ]
ehsavoie Hugonnet commented on WFLY-5715:
-----------------------------------------
If you chown -R /opt/wildfly-9.0.2.Final prod:prod does it fix the issue ?
> Wildfly 9/10 removing deployments after a certain time
> ------------------------------------------------------
>
> Key: WFLY-5715
> URL: https://issues.jboss.org/browse/WFLY-5715
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 9.0.2.Final, 10.0.0.CR4
> Environment: Ubuntu 12.04.5 LTS
> Reporter: Sven Ulrich
> Assignee: ehsavoie Hugonnet
> Attachments: Dummy.war, ifxjdbc_4.10.jar, server.log, standalone.xml
>
>
> I have setup a Wildfly 10 CR4 on a Ubuntu 12.04.5 LTS. The server is running fine.
> Now I want to deploye my jar files (jdbc driver and jee apps).
> All is uploaded via the management web interface running on the port 10010 (added offset of 20 because a WF8 is running on Port 8080)
> First I log into the web interface and navigate to the tab deployments. Then I use the button add.
> In the popup window:
> 1: Upload a new deployment
> 2: I choose ifxjdbc_4.10.jar for e.g.
> 3: In Verify upload enabled is set and everything else is standard
> 4: The upload takes round about 30sec.
> Now I can setup datasources for this driver and its works fine. My next step is to stop the server and restart it. Then the server wont start because the content is missing for the jar.
> It wont be an issue for me if i could be 100% sure that the server wont be restarted anytime :)
> I have added my standalone.xml and the log with hopefully all needed information.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFLY-5715) Wildfly 9/10 removing deployments after a certain time
by Oleg Hoefling (JIRA)
[ https://issues.jboss.org/browse/WFLY-5715?page=com.atlassian.jira.plugin.... ]
Oleg Hoefling commented on WFLY-5715:
-------------------------------------
You're right:
{panel}
$ ls -l /home/prod/
total 283172
drwxrwxr-x 3 prod prod 4096 Jan 29 18:29 b4
-rw-rw-r-- 1 prod prod 8517086 Jan 29 14:36 MM-Controller-0.1.0-SNAPSHOT.war
drwxr-xr-x 4 prod prod 4096 Okt 6 17:24 mysql-connector-java-5.1.37
-rw-rw-r-- 1 prod prod 3928553 Jan 22 16:45 mysql-connector-java-5.1.37.tar.gz
-rw------- 1 prod prod 4388246 Jan 29 19:07 nohup.out
-rw-r--r-- 1 prod prod 137438344 Jan 29 13:20 wildfly-10.0.0.CR5.tar.gz
drwxr-xr-x 10 prod prod 4096 Okt 26 23:15 wildfly-9.0.2.Final
-rw-r--r-- 1 wildfly wildfly 135659070 Jan 29 13:20 wildfly-9.0.2.Final.tar.gz
{panel}
> Wildfly 9/10 removing deployments after a certain time
> ------------------------------------------------------
>
> Key: WFLY-5715
> URL: https://issues.jboss.org/browse/WFLY-5715
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 9.0.2.Final, 10.0.0.CR4
> Environment: Ubuntu 12.04.5 LTS
> Reporter: Sven Ulrich
> Assignee: ehsavoie Hugonnet
> Attachments: Dummy.war, ifxjdbc_4.10.jar, server.log, standalone.xml
>
>
> I have setup a Wildfly 10 CR4 on a Ubuntu 12.04.5 LTS. The server is running fine.
> Now I want to deploye my jar files (jdbc driver and jee apps).
> All is uploaded via the management web interface running on the port 10010 (added offset of 20 because a WF8 is running on Port 8080)
> First I log into the web interface and navigate to the tab deployments. Then I use the button add.
> In the popup window:
> 1: Upload a new deployment
> 2: I choose ifxjdbc_4.10.jar for e.g.
> 3: In Verify upload enabled is set and everything else is standard
> 4: The upload takes round about 30sec.
> Now I can setup datasources for this driver and its works fine. My next step is to stop the server and restart it. Then the server wont start because the content is missing for the jar.
> It wont be an issue for me if i could be 100% sure that the server wont be restarted anytime :)
> I have added my standalone.xml and the log with hopefully all needed information.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFLY-5715) Wildfly 9/10 removing deployments after a certain time
by ehsavoie Hugonnet (JIRA)
[ https://issues.jboss.org/browse/WFLY-5715?page=com.atlassian.jira.plugin.... ]
ehsavoie Hugonnet commented on WFLY-5715:
-----------------------------------------
Yes, that feels strange to me while i'm almost sure that in your home dir all belongs to "prod" right ?
> Wildfly 9/10 removing deployments after a certain time
> ------------------------------------------------------
>
> Key: WFLY-5715
> URL: https://issues.jboss.org/browse/WFLY-5715
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 9.0.2.Final, 10.0.0.CR4
> Environment: Ubuntu 12.04.5 LTS
> Reporter: Sven Ulrich
> Assignee: ehsavoie Hugonnet
> Attachments: Dummy.war, ifxjdbc_4.10.jar, server.log, standalone.xml
>
>
> I have setup a Wildfly 10 CR4 on a Ubuntu 12.04.5 LTS. The server is running fine.
> Now I want to deploye my jar files (jdbc driver and jee apps).
> All is uploaded via the management web interface running on the port 10010 (added offset of 20 because a WF8 is running on Port 8080)
> First I log into the web interface and navigate to the tab deployments. Then I use the button add.
> In the popup window:
> 1: Upload a new deployment
> 2: I choose ifxjdbc_4.10.jar for e.g.
> 3: In Verify upload enabled is set and everything else is standard
> 4: The upload takes round about 30sec.
> Now I can setup datasources for this driver and its works fine. My next step is to stop the server and restart it. Then the server wont start because the content is missing for the jar.
> It wont be an issue for me if i could be 100% sure that the server wont be restarted anytime :)
> I have added my standalone.xml and the log with hopefully all needed information.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (ELY-414) Allow the authentication in SecurityDomainTrustManager to be optional
by Darran Lofthouse (JIRA)
Darran Lofthouse created ELY-414:
------------------------------------
Summary: Allow the authentication in SecurityDomainTrustManager to be optional
Key: ELY-414
URL: https://issues.jboss.org/browse/ELY-414
Project: WildFly Elytron
Issue Type: Task
Components: SSL
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Fix For: 1.1.0.Beta4
Validating the certificate chain using the delegate trust manager must never be skipped but this change is to allow the authentication step to be flagged as optional.
i.e. If for any reason the authentication fails silently allow it through so other authentication mechanisms can be tried.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFCORE-1330) Deployment error after reboot [WFLYSRV0137]
by ehsavoie Hugonnet (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1330?page=com.atlassian.jira.plugi... ]
ehsavoie Hugonnet commented on WFCORE-1330:
-------------------------------------------
Did you run WildFly with different OS users (maybe in the same group) ?
> Deployment error after reboot [WFLYSRV0137]
> -------------------------------------------
>
> Key: WFCORE-1330
> URL: https://issues.jboss.org/browse/WFCORE-1330
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 1.0.2.Final
> Environment: Ubuntu 14.04 LTS 64bit, jre-1.8.0_65
> Several deployed (JavaEE) web applications including non XA datasources that connect to a MySQL instance.
> Reporter: Tobi Tobias
> Assignee: ehsavoie Hugonnet
> Priority: Critical
> Attachments: server.log, server.log
>
>
> I have a working configuration on wildfly 9.0.2 final with several web applications (JavaEE).
> After a couple of days, I deployed another war file via jboss CLI. This application worked correctly and no deployment error occurred.
> But if I restart the server now, I get following error message:
> 10:36:01,893 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "MM-Controller-0.1.0-SNAPSHOT.war")]) - failure description: "WFLYSRV0137: No deployment content with hash 966847a6f5f5bf8c3470f07ea9e65b7bbcdcd7b7 is available in the deployment content repository for deployment 'MM-Controller-0.1.0-SNAPSHOT.war'. This is a fatal boot error. To correct the problem, either restart with the --admin-only switch set and use the CLI to install the missing content or remove it from the configuration, or remove the deployment from the xml configuration file and restart."
> 10:36:01,990 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
> I reproduced this at least 30 times - even with different jars. I always get this error. The server works fine as long as I don't reboot.
> The only way to fix the configuration is to manually remove the deployments from the standalone.xml.
> But this is not an option for me as I want to have the wildfly running as production server where I have several automatic deployments every day.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFLY-5715) Wildfly 9/10 removing deployments after a certain time
by Oleg Hoefling (JIRA)
[ https://issues.jboss.org/browse/WFLY-5715?page=com.atlassian.jira.plugin.... ]
Oleg Hoefling commented on WFLY-5715:
-------------------------------------
# yes
# {panel}$ ls -l / | grep opt
drwxr-xr-x 6 root root 4096 Jan 29 17:24 opt
$ ls -l /opt
total 8
drwxr-xr-x 10 wildfly wildfly 4096 Dez 23 07:54 wildfly-10.0.0.CR5
drwxr-xr-x 10 wildfly wildfly 4096 Okt 26 23:15 wildfly-9.0.2.Final
{panel}
# {panel}$ ls -l /opt/wildfly-9.0.2.Final/standalone/data/
total 12
drwxrwxr-x 3 prod prod 4096 Jan 29 18:36 content
drwxrwxr-x 2 prod prod 4096 Jan 29 17:28 timer-service-data
drwxrwxr-x 3 prod prod 4096 Jan 29 17:28 tx-object-store
$ ls -l /opt/wildfly-9.0.2.Final/standalone/data/content/
total 4
drwxrwxr-x 3 prod prod 4096 Jan 29 17:28 4e
{panel}
I see now that the owner of the {{data}} dir is the {{prod}} user, not {{wildfly}}.
> Wildfly 9/10 removing deployments after a certain time
> ------------------------------------------------------
>
> Key: WFLY-5715
> URL: https://issues.jboss.org/browse/WFLY-5715
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 9.0.2.Final, 10.0.0.CR4
> Environment: Ubuntu 12.04.5 LTS
> Reporter: Sven Ulrich
> Assignee: ehsavoie Hugonnet
> Attachments: Dummy.war, ifxjdbc_4.10.jar, server.log, standalone.xml
>
>
> I have setup a Wildfly 10 CR4 on a Ubuntu 12.04.5 LTS. The server is running fine.
> Now I want to deploye my jar files (jdbc driver and jee apps).
> All is uploaded via the management web interface running on the port 10010 (added offset of 20 because a WF8 is running on Port 8080)
> First I log into the web interface and navigate to the tab deployments. Then I use the button add.
> In the popup window:
> 1: Upload a new deployment
> 2: I choose ifxjdbc_4.10.jar for e.g.
> 3: In Verify upload enabled is set and everything else is standard
> 4: The upload takes round about 30sec.
> Now I can setup datasources for this driver and its works fine. My next step is to stop the server and restart it. Then the server wont start because the content is missing for the jar.
> It wont be an issue for me if i could be 100% sure that the server wont be restarted anytime :)
> I have added my standalone.xml and the log with hopefully all needed information.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFLY-6095) Migration for valves does not work properly
by Radim Hatlapatka (JIRA)
Radim Hatlapatka created WFLY-6095:
--------------------------------------
Summary: Migration for valves does not work properly
Key: WFLY-6095
URL: https://issues.jboss.org/browse/WFLY-6095
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Reporter: Radim Hatlapatka
Assignee: Stuart Douglas
This currently has several issues, as valves are just migrated directly without regard for how configuration has changed.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFLY-5715) Wildfly 9/10 removing deployments after a certain time
by ehsavoie Hugonnet (JIRA)
[ https://issues.jboss.org/browse/WFLY-5715?page=com.atlassian.jira.plugin.... ]
ehsavoie Hugonnet commented on WFLY-5715:
-----------------------------------------
Do you run WildFly in both cases with the same "prod" user ?
I assume /opt is drwxr-xr-x 7 root root 4096
Could you show me the OS rights on the folders "content" and "data" ?
> Wildfly 9/10 removing deployments after a certain time
> ------------------------------------------------------
>
> Key: WFLY-5715
> URL: https://issues.jboss.org/browse/WFLY-5715
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 9.0.2.Final, 10.0.0.CR4
> Environment: Ubuntu 12.04.5 LTS
> Reporter: Sven Ulrich
> Assignee: ehsavoie Hugonnet
> Attachments: Dummy.war, ifxjdbc_4.10.jar, server.log, standalone.xml
>
>
> I have setup a Wildfly 10 CR4 on a Ubuntu 12.04.5 LTS. The server is running fine.
> Now I want to deploye my jar files (jdbc driver and jee apps).
> All is uploaded via the management web interface running on the port 10010 (added offset of 20 because a WF8 is running on Port 8080)
> First I log into the web interface and navigate to the tab deployments. Then I use the button add.
> In the popup window:
> 1: Upload a new deployment
> 2: I choose ifxjdbc_4.10.jar for e.g.
> 3: In Verify upload enabled is set and everything else is standard
> 4: The upload takes round about 30sec.
> Now I can setup datasources for this driver and its works fine. My next step is to stop the server and restart it. Then the server wont start because the content is missing for the jar.
> It wont be an issue for me if i could be 100% sure that the server wont be restarted anytime :)
> I have added my standalone.xml and the log with hopefully all needed information.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFLY-5715) Wildfly 9/10 removing deployments after a certain time
by Oleg Hoefling (JIRA)
[ https://issues.jboss.org/browse/WFLY-5715?page=com.atlassian.jira.plugin.... ]
Oleg Hoefling commented on WFLY-5715:
-------------------------------------
# yes
# Java(TM) SE Runtime Environment (build 1.8.0_65-b17) / Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)
# I use the mysql driver
Steps to reproduce (my user already belongs to wildfly group):
# {{$ wget http://download.jboss.org/wildfly/9.0.2.Final/wildfly-9.0.2.Final.tar.gz}}
# {{$ tar zxvf wildfly-9.0.2.Final.tar.gz -C /opt}}
# {{$ chown -R wildfly:wildfly /opt/wildfly-9.0.2.Final}}
# {{$ chmod -R g+w /opt/wildfly-9.0.2.Final/standalone /opt/wildfly/domain/configuration}}
# {{$ /opt/wildfly-9.0.2.Final/bin/add-user.sh (add one for management realm)}}
# {{$ /opt/wildfly-9.0.2.Final/bin/standalone.sh}}
# {{$ /opt/wildfly-9.0.2.Final/bin/jboss-cli.sh --connect}}
# {{\[standalone@localhost:9990 /\] /deployment=mysqlconnector.jar:add(enabled=true,content=\[url=file:///home/hoefling/Downloads/mysql-connector-java-5.1.37.jar])}}
# {{\[standalone@localhost:9990 /\] data-source add --name=myappds --jndi-name=java:/myappds --connection-url=jdbc:mysql://localhost:3306/myappdb --driver-name=mysqlconnector.jar_com.mysql.jdbc.Driver_5_1 --user-name=app --password=app}}
# {{\[standalone@localhost:9990 /\] /deployment=myapp.war:add(enabled=true,content=\[url=file:///home/hoefling/projects/myapp/target/myapp.war])}}
Verify two artifacts were deployed:
{panel}$ ls -l /opt/wildfly-9.0.2.Final/standalone/data/content/
total 8
drwxrwxr-x 3 prod prod 4096 Jan 29 18:01 4e
drwxrwxr-x 3 prod prod 4096 Jan 29 18:01 b4{panel}
Wait five minutes or so:
{panel}$ ls -l wildfly-9.0.2.Final/standalone/data/content/
total 4
drwxrwxr-x 3 prod prod 4096 Jan 29 18:01 4e
{panel}
The myapp deployment is gone. Note that I can only reproduce this when installing Wildfly into /opt, as when I install e.g. in my home directory, the cleanup of deployments does not happen.
> Wildfly 9/10 removing deployments after a certain time
> ------------------------------------------------------
>
> Key: WFLY-5715
> URL: https://issues.jboss.org/browse/WFLY-5715
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 9.0.2.Final, 10.0.0.CR4
> Environment: Ubuntu 12.04.5 LTS
> Reporter: Sven Ulrich
> Assignee: ehsavoie Hugonnet
> Attachments: Dummy.war, ifxjdbc_4.10.jar, server.log, standalone.xml
>
>
> I have setup a Wildfly 10 CR4 on a Ubuntu 12.04.5 LTS. The server is running fine.
> Now I want to deploye my jar files (jdbc driver and jee apps).
> All is uploaded via the management web interface running on the port 10010 (added offset of 20 because a WF8 is running on Port 8080)
> First I log into the web interface and navigate to the tab deployments. Then I use the button add.
> In the popup window:
> 1: Upload a new deployment
> 2: I choose ifxjdbc_4.10.jar for e.g.
> 3: In Verify upload enabled is set and everything else is standard
> 4: The upload takes round about 30sec.
> Now I can setup datasources for this driver and its works fine. My next step is to stop the server and restart it. Then the server wont start because the content is missing for the jar.
> It wont be an issue for me if i could be 100% sure that the server wont be restarted anytime :)
> I have added my standalone.xml and the log with hopefully all needed information.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months