[
https://issues.jboss.org/browse/JBIDE-12218?page=com.atlassian.jira.plugi...
]
Andre Dietisheim edited comment on JBIDE-12218 at 8/22/12 8:47 AM:
-------------------------------------------------------------------
If you import the individual maven projects within the repo (there are 2 of them:
helloworld-html5, kitchensink-html5-mobile), which both have poms within them, and then
use them (not the parent) as projects to merge the OpenShift application with, things work
fine. They get deployed and run on OpenShift:
!deployed-helloworld.png!
was (Author: adietish):
If you import the individual maven projects within the repo (there are 2 of them:
helloworld-html5, kitchensink-html5-mobile), which both have poms within them, and then
use them (not the parent) as projects to merge the OpenShift application with, things work
fine:
!deployed-helloworld.png!
Git-versioned projects not building when deployed on OpenShift
--------------------------------------------------------------
Key: JBIDE-12218
URL:
https://issues.jboss.org/browse/JBIDE-12218
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 3.3.0.CR1
Reporter: Stefan Bunciak
Assignee: Andre Dietisheim
Priority: Blocker
Fix For: 3.3.2, 3.4.0.M1
Attachments: deployed-helloworld.png, push-force.png
After trying to *Commit & Push* i get: master: master [rejected - non-fast-forward]
{code}
Repository
ssh://500881bf89dc482298bebb43ea15fbdf@html-rhtestdomain.rhcloud.com/~/git/html.git/
{code}
After *publishing* via server adapter (no Maven build triggered):
{code}
Repository
ssh://500881bf89dc482298bebb43ea15fbdf@html-rhtestdomain.rhcloud.com/~/git/html.git/
Stopping application...
Done
~/git/html.git ~/git/html.git
~/git/html.git
Emptying tmp dir:
/var/lib/stickshift/500881bf89dc482298bebb43ea15fbdf/html/jbossas-7/standalone/tmp/auth
Emptying tmp dir:
/var/lib/stickshift/500881bf89dc482298bebb43ea15fbdf/html/jbossas-7/standalone/tmp/vfs
Emptying tmp dir:
/var/lib/stickshift/500881bf89dc482298bebb43ea15fbdf/html/jbossas-7/standalone/tmp/work
Starting application...
Done
{code}
Output of the server.log (used the *Tail files* option from OpenShift Explorer):
{code}
2012/06/19 09:41:23,904 INFO [org.jboss.as.controller] (Controller Boot Thread)
JBAS014774: Service status report
JBAS014777: Services which failed to start: service
jboss.server.deployment.scanner.default: org.jboss.msc.service.StartException in service
jboss.server.deployment.scanner.default: java.lang.IllegalArgumentException: JBAS015053:
/var/lib/stickshift/500881bf89dc482298bebb43ea15fbdf/html/jbossas-7/standalone/deployments
does not exist
2012/06/19 09:41:23,983 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss
AS 7.1.0.Final "Thunder" started (with errors) in 32395ms - Started 168 of 283
services (1 services failed or missing dependencies, 111 services are passive or
on-demand)
{code}
But git project (jboss-kithensink) from
[
git://github.com/openshift/kitchensink-example.git] works fine. What's the
difference? Probably their repo layout.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira