HI Patrik,
well i am still keeping my eyes open to all possible solutiones, especialy
if there is one which requires zero programming, and produces crude but
usable gui ;-)
However, what i am interested is EJB layer of the web aplication, because
that is what i would actually like to expose to various clients (Flex, SOA
processes etc...).

While we are at it, it would be very nice if i could specify as a project
nature of Sculptore module, to generate just EJB layer no JSF GUI. 
However, it would be even better to be able to have both of these but in
SEPARATE modules, not as it is now bundled in single web module! For
example, one could be just web gui with references to EJB layer and other
with just EJB-s, which could than also be consumed by other clients.

Actually this the architecture that i am aiming for at the moment, and one
of the reasons i wanted to deploy hello world example on glassfish.

cheers
Domagoj



Patrik Nordwall wrote:
> 
> Hi Domagoj,
> 
> if you prefer flex you are probably not interested in sculptor jsf crud
> GUI anyway, but the business tier is useful together with flex front end.
> Have you tried to use only the sculptor business tier and develop your own
> presentation tier.
> /Patrik 
> 
> dmadunic wrote:
>> 
>> Hi all,
>> just a short confirmation: No it does not work out of the box, there is
>> some error in JSF layer but logs are of no use in this case.
>> 
>> Unfortunately, I could be of no help in debugging JSF, since i have long
>> ago abandoned any Java based View technology in favor of Adobe Flex, so
>> my knowledge is limited to pre JSF paradigm (JSP + JST) ;-(
>> 
>> However, i would really like to see Sculptore deployed on some other JEE
>> server than JBOSS, for example WebSphere and/or especially glassfish 3
>> which has drawn lots of attention in the past few weeks.
>> 
>> best
>> Domagoj
>>  
>> 
>> Andreas Källberg-2 wrote:
>>> 
>>> Hi,
>>> Without trying myself, I havn't used glassfish v.3 (yet).
>>> Glassfish v.3 implements EE6, which means that it uses jsf 2 (as you
>>> stated
>>> below). Then the question is how it supports backwards compatibility,
>>> since
>>> the version of jsf in the helloworld (and all sculptor generated apps)
>>> is
>>> 1.2. I.e, does it works out of the box to deploy a EE5 app in glassfish
>>> 3?
>>> 
>>> .../Andreas
>>> 
>>> On Sun, Dec 20, 2009 at 11:51 AM, dmadunic
>>> <domagoj.madu...@gmail.com>wrote:
>>> 
>>>>
>>>> Hmm as far as i could find out in sun's documentation, glassfish comes
>>>> with
>>>> following jsf libraries:
>>>>
>>>> JSF
>>>> com.sun.faces:jsf-api:2.0.2-b03
>>>> com.sun.faces:jsf-impl:2.0.2-b03
>>>>
>>>> Domagoj
>>>>
>>>>
>>>> Patrik Nordwall wrote:
>>>> >
>>>> > Do you know if glassfish has any libraries in it's classpath that
>>>> takes
>>>> > preceedence of of jars that are bundled in war lib? Jsf
>>>> provider/version?
>>>> > /Patrik
>>>> >
>>>> >
>>>> > dmadunic wrote:
>>>> >>
>>>> >> Hi Patrik,
>>>> >> i have not tried using jboss at all. I tested it first on jetty and
>>>> all
>>>> >> went well, then i performed modifications as described above, and at
>>>> some
>>>> >> point managed to run it on glassfish, but with the mentioned
>>>> problem.
>>>> >>
>>>> >> Unfortunately, glassfish logs are of no help, server.log does not
>>>> contain
>>>> >> any exception stack trace.
>>>> >> And, yea i have modifed web.xml several time, but i am pretty sure
>>>> it is
>>>> >> valid.
>>>> >> Any suggestions what else should i try?
>>>> >> Again, i am new to sculptore, and do not know where to look for
>>>> what. I
>>>> >> am doing this because i want to evaluate its usability for some
>>>> future
>>>> >> projects.
>>>> >>
>>>> >> cheers
>>>> >> Domagoj
>>>> >>
>>>> >>
>>>> >> Patrik Nordwall wrote:
>>>> >>>
>>>> >>> I have not tried in glassfish, but I don't think it will be
>>>> difficult
>>>> >>> solve the issues. It would be interesting to see the full stack
>>>> trace
>>>> of
>>>> >>> the UnsupportedOperationException.
>>>> >>>
>>>> >>> I think you should start with Jetty (which is default) or Tomcat
>>>> >>> settings, instead of jboss.
>>>> >>> deployment.applicationServer=Tomcat
>>>> >>>
>>>> http://fornax.itemis.de/confluence/display/fornax/7.+Developer%27s+Guide+%28CSC%29#7.Developer%27sGuide%28CSC%29-DeploymentinTomcat
>>>> >>>
>>>> >>> Note that web.xml is only generated once, so you have to remove it
>>>> when
>>>> >>> you have done above configuration change and then re-generate.
>>>> >>>
>>>> >>> I would guess that if you have used jboss setting it will fail on
>>>> the
>>>> >>> ServiceContextFactory, which is jboss-specific.
>>>> >>>
>>>> >>> /Patrik
>>>> >>>
>>>> >>>
>>>> >>> dmadunic wrote:
>>>> >>>>
>>>> >>>> Hi all,
>>>> >>>> has anyone succeeded in deploying helloworld-web example on
>>>> glassfish
>>>> >>>> 3?
>>>> >>>>
>>>> >>>> I am completely new to sculptor, and since JBOSS is not my
>>>> favorite
>>>> >>>> weapon of choice in the domain of JEE servers , i have attempted
>>>> to
>>>> run
>>>> >>>> helloworld-web on new glassfish 3 server.
>>>> >>>> Unfortunately, I have not made it until the end....
>>>> >>>>
>>>> >>>> First I had to resolve data source name:
>>>> java:comp/env/jdbc/UniverseDS
>>>> >>>> for glassfish, because applicotion could not be deployed, due to
>>>> the
>>>> >>>> name JNDI mismatch.
>>>> >>>>
>>>> >>>> Solution is similar one to the JBOSS solution.
>>>> >>>>
>>>> >>>> 1) I have created new datasource in glassfish admin concole and
>>>> named
>>>> >>>> it jdbc/UniverseDS
>>>> >>>>
>>>> >>>> 2) added following to the web.xml:
>>>> >>>>
>>>> >>>> <resource-ref>
>>>> >>>>            <description>Aliased UniverseDS now visible in
>>>> >>>> java:comp/env</description>
>>>> >>>>            <res-ref-name>jdbc/UniverseDS</res-ref-name>
>>>> >>>>            <res-type>javax.sql.DataSource</res-type>
>>>> >>>>            <res-auth>Container</res-auth>
>>>> >>>>    </resource-ref>
>>>> >>>>
>>>> >>>> 3) Added new file sun-web.xml file in WEB-INF/
>>>> >>>>
>>>> >>>> <?xml version="1.0" encoding="UTF-8" ?>
>>>> >>>> <sun-web-app>
>>>> >>>>    <resource-ref>
>>>> >>>>            <res-ref-name>jdbc/UniverseDS</res-ref-name>
>>>> >>>>            <jndi-name>jdbc/UniverseDS</jndi-name>
>>>> >>>>    </resource-ref>
>>>> >>>> </sun-web-app>
>>>> >>>>
>>>> >>>> Now application cane be deployed and even started (i got first
>>>> screen),
>>>> >>>> but when i attempt to navigate to screen to "create new planet" i
>>>> got
>>>> >>>> follwing error on the screen:
>>>> >>>>
>>>> >>>> An internal fault occurred
>>>> >>>>
>>>> >>>> System error (java.lang.UnsupportedOperationException),
>>>> >>>> caused by: java.lang.UnsupportedOperationException
>>>> >>>>
>>>> >>>> And nothing in the server logs..
>>>> >>>>
>>>> >>>> Any help. It would be great if sculptor could be used on some
>>>> other
>>>> jee
>>>> >>>> server, not only on Jboss.
>>>> >>>>
>>>> >>>> thx
>>>> >>>> Domagoj
>>>> >>>>
>>>> >>>>
>>>> >>>
>>>> >>>
>>>> >>
>>>> >>
>>>> >
>>>> >
>>>>
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/helloworld-web-glassfish-deployment-tp26855630s17564p26862424.html
>>>> Sent from the Fornax-Platform mailing list archive at Nabble.com.
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> This SF.Net email is sponsored by the Verizon Developer Community
>>>> Take advantage of Verizon's best-in-class app development support
>>>> A streamlined, 14 day to market process makes app distribution fast and
>>>> easy
>>>> Join now and get one step closer to millions of Verizon customers
>>>> http://p.sf.net/sfu/verizon-dev2dev
>>>> _______________________________________________
>>>> Fornax-developer mailing list
>>>> Fornax-developer@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>>>>
>>> 
>>> ------------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Verizon Developer Community
>>> Take advantage of Verizon's best-in-class app development support
>>> A streamlined, 14 day to market process makes app distribution fast and
>>> easy
>>> Join now and get one step closer to millions of Verizon customers
>>> http://p.sf.net/sfu/verizon-dev2dev 
>>> _______________________________________________
>>> Fornax-developer mailing list
>>> Fornax-developer@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/helloworld-web-glassfish-deployment-tp26855630s17564p26970979.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to