users@glassfish.java.net

RE: enterprise app modules added to composite app

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Wed, 25 Feb 2009 15:39:42 -0500

Ive been able to get SEAM to work in JBOSS (but not GF)

supposedly.. these SEAM projects are working in GF..
there are configuration files missing from build scripts so building means
googling for the build projects..

If you're under time pressure I would stick with SEAM deploys (2.2) from Jboss
http://www.seamframework.org/

let me know if are able to get your seam app deployed in GF..

https://techdayscode.dev.java.net/servlets/ProjectDocumentList?folderID=7555

Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.




Date: Wed, 25 Feb 2009 10:33:49 -0500
From: armart3_at_tycho.ncsc.mil
To: users_at_glassfish.dev.java.net
Subject: RE: RE: enterprise app modules added to composite app










Thanx.
i too have domain1 with my web.xml located respective to
yours.
my web page is built by the EJB module - Seam.
my current line of chasing around in circles is that possibly the
local interface on the ejb from the ejb-module of the enterprise app is no
longer valid in a composite app. so, i changed the interface of
the EJB to Remote. i added an enterprise-beans tag to
ejb-jar.xml. the tag is not liked - on deploy, i get a complaint about
that tag requires "http://java.sun.com.xml.ns/javaee":ejb-client-jar

i have yet to learn the meaning of this and how to fix - or even
if i am chasing in the right direction.
 



From: Martin Gainty
[mailto:mgainty_at_hotmail.com]
Sent: Wednesday, February 25, 2009 9:47
AM
To: Users GlassFish.dev.java.net
Subject: RE: enterprise
app modules added to composite app


Ray

depends on the location of your webapps web.xml and
sun-web.xml configuration
files

$GLASSFISH_HOME/domains/domain1/generated/xml/j2ee-modules/hello/WEB-INF/web.xml
contents

<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
  
<display-name>hello</display-name>
  
<distributable/>
</web-app>

$GLASSFISH_HOME/domains/domain1/generated/xml/j2ee-modules/hello/WEB-INF/sun-web.xml
contents

<?xml version="1.0" encoding="UTF-8"
standalone="no"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems,
Inc.//DTD Application Server 9.0 Servlet 2.5//EN"
"http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd">
<sun-web-app>
  
<context-root>hello</context-root>
</sun-web-app>

http://localhost:8080/hello

Assuming
your hello webapp is deployed to a working domain (in my case that is
domain1)

HTH
Martin

USCitizen(Contractor)
______________________________________________

Disclaimer and confidentiality note
Everything in this e-mail and any
attachments relates to the official business of Sender. This transmission is of
a confidential nature and Sender does not endorse distribution to any party
other than intended recipient. Sender does not necessarily endorse content
contained within this transmission.






Date: Wed, 25 Feb 2009 08:53:49 -0500
From: armart3_at_tycho.ncsc.mil
To:
users_at_glassfish.dev.java.net
Subject: enterprise app modules added to
composite app


i have an enterprise
app, Example with the usual modules Example-ejb and
Example-war.
 
in a composite app, i
select "Add JBI Module" - from the selection window, i add Example-ejb adn
Example-war.
 
the sun-web.xml file in
Example-war says the context is /Example-war
 
after deploying the
composite app, and setting the browser to
http://localhost:8080/Example-war - i can only get 503 requested service
not available.
 
the admin console shows
the modules Example-war and Example-ejb deployed in the composite
app.
 
the context has not
changed has it?


Windows Live™ Hotmail®…more than just e-mail. See how it works.
_________________________________________________________________
Access your email online and on the go with Windows Live Hotmail.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Access_022009